-
Notifications
You must be signed in to change notification settings - Fork 48
/
Cargo.toml
79 lines (73 loc) · 2.16 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
[workspace]
members = [".", "cli", "harness"]
[package]
name = "ipfs-embed"
version = "0.26.1"
authors = ["David Craven <[email protected]>", "Roland Kuhn <[email protected]>"]
edition = "2018"
license = "MIT OR Apache-2.0"
description = "small embeddable ipfs implementation"
repository = "https://github.com/ipfs-rust/ipfs-embed"
[features]
default = ["async_global", "rsa", "ecdsa", "secp256k1"]
rsa = ["libp2p/rsa"]
ecdsa = ["libp2p/ecdsa"]
secp256k1 = ["libp2p/secp256k1"]
async_global = ["async-global-executor", "libp2p/async-std"]
tokio = ["tokio-crate", "libp2p/tokio"]
telemetry = ["tide", "async_global"]
# Makes it possible to exchange data via Bitswap with a go-ipfs node
compat = ["libp2p-bitswap/compat"]
[dependencies]
anyhow = "1.0.56"
async-global-executor = { version = "2.0.3", optional = true }
async-trait = "0.1.52"
chrono = "0.4.19"
fnv = "1.0.7"
futures = "0.3.21"
futures-timer = "3.0.2"
ipfs-sqlite-block-store = "0.13.0"
lazy_static = "1.4.0"
libipld = { version = "0.14.0", default-features = false }
libp2p-bitswap = "0.25.0"
libp2p-broadcast = "0.12.0"
names = "0.13.0"
parking_lot = "0.11.2"
pin-project = "1.0.10"
prometheus = "0.13.0"
rand = "0.8.5"
thiserror = "1.0.30"
tide = { version = "0.16.0", optional = true }
tokio-crate = { package = "tokio", version = "1.17.0", features = ["rt"], optional = true }
tracing = "0.1.32"
trust-dns-resolver = "0.22.0"
void = "1.0.2"
[dependencies.libp2p]
version = "0.50.0"
features = [
"dns",
"gossipsub",
"identify",
"kad",
"macros",
"mdns",
"mplex",
"noise",
"ping",
"pnet",
"tcp",
"yamux",
]
[dev-dependencies]
anyhow = { version = "1", features = ["backtrace"] }
async-executor = "1.4.1"
async-std = { version = "1.11.0", features = ["attributes"] }
libipld = { version = "0.14.0", default-features = false, features = ["dag-cbor", "dag-pb", "derive"] }
libp2p-bitswap = { version = "0.25.0", default-features = false, features = ["compat"] }
multihash = { version = "0.16.1", default-features = false, features = ["blake3"] }
rand = "0.8.5"
regex = "1.5.5"
tempdir = "0.3.7"
tracing-subscriber = { version = "0.3.9", features = ["env-filter"] }
[profile.release]
debug = true