forked from dariusc93/rust-ipfs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
148 lines (125 loc) · 3.51 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
[package]
authors = ["Darius C", "Rust-IPFS contributors"]
rust-version = "1.70"
edition = "2021"
license = "MIT OR Apache-2.0"
name = "rust-ipfs"
readme = "README.md"
repository = "https://github.com/dariusc93/rust-ipfs"
description = "IPFS node implementation"
version = "0.4.1"
[features]
# feature will enable sled_data_store use in ipfs::Types (default used by ipfs-http for example)
# sled dependency is not guarded by this to keep compiling and test the pinstore.
sled_data_store = []
test_go_interop = []
test_js_interop = []
experimental = ["rust-ipns"]
[workspace.dependencies]
libp2p = "0.52.3"
beetle-bitswap-next = { version = "0.4.0", path = "packages/beetle-bitswap-next" }
rust-unixfs = { version = "0.4.0", path = "unixfs" }
libipld = "0.16"
clap = { version = "4.3", features = ["derive"] }
rust-ipns = { version = "0.1", path = "packages/rust-ipns" }
chrono = { version = "0.4" }
[dependencies]
anyhow = "1.0"
async-stream = { version = "0.3" }
async-trait = { version = "0.1" }
base64 = { default-features = false, features = ["alloc"], version = "0.21" }
beetle-bitswap-next = { workspace = true }
byteorder = { default-features = false, version = "1" }
bytes = { default-features = false, version = "1" }
libipld.workspace = true
trust-dns-resolver = "0.22"
either = { version = "1" }
futures = { version = "0.3" }
hash_hasher = "2.0.3"
rust-unixfs = { workspace = true }
rust-ipns = { workspace = true, optional = true }
chrono.workspace = true
libp2p = { features = [
"gossipsub",
"autonat",
"relay",
"dcutr",
"identify",
"kad",
"websocket",
"tcp",
"macros",
"tokio",
"noise",
"ping",
"yamux",
"dns",
"mdns",
"ed25519",
"secp256k1",
"ecdsa",
"rsa",
"serde",
"request-response",
"rendezvous",
"quic"
], workspace = true }
libp2p-mplex = "0.40"
libp2p-allow-block-list = "0.2"
parking_lot = "0.12"
serde = { default-features = false, features = ["derive"], version = "1.0" }
serde_json = { default-features = false, features = ["std"], version = "1.0" }
thiserror = { default-features = false, version = "1.0" }
tokio = { default-features = false, features = [
"fs",
"macros",
"rt-multi-thread",
"sync",
], version = "1" }
tokio-stream = { version = "0.1", features = ["fs"] }
tokio-util = { version = "0.7", features = ["full"] }
tracing = { default-features = false, features = ["log"], version = "0.1" }
tracing-futures = { default-features = false, features = [
"std-future",
"std",
"futures-03",
], version = "0.2" }
async-broadcast = "0.5"
void = { default-features = false, version = "1.0" }
fs2 = "0.4"
sled = "0.34"
libp2p-nat = { version = "0.3" }
rlimit = "0.10"
wasm-timer = "0.2"
rand = "0.8"
zeroize = "1"
[dev-dependencies]
rust-ipns.workspace = true
bs58 = "0.4"
criterion = { default-features = false, version = "0.4" }
hex-literal = { default-features = false, version = "0.3" }
sha2 = { default-features = false, version = "0.10" }
tokio = { default-features = false, features = [
"io-std",
"io-util",
"time",
], version = "1" }
rustyline-async = { version = "0.3" }
tracing-subscriber = { default-features = false, features = [
"fmt",
"tracing-log",
"ansi",
"env-filter",
], version = "0.3" }
rand = { default-features = false, version = "0.8", features = [
"std",
"std_rng",
] }
tempfile = "3.1.0"
clap = { workspace = true }
[profile.dev.build-override]
debug = true
[workspace]
members = ["packages/*", "unixfs"]
exclude = ["archived", "deprecated/*"]
resolver = "2"