-
Notifications
You must be signed in to change notification settings - Fork 7
/
Cargo.toml
74 lines (68 loc) · 1.78 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
[package]
name = "beetswap"
version = "0.4.0"
edition = "2021"
license = "Apache-2.0"
description = "Implementation of bitswap protocol for libp2p"
authors = ["Eiger <[email protected]>"]
homepage = "https://www.eiger.co"
readme = "README.md"
rust-version = "1.75"
repository = "https://github.com/eigerco/beetswap"
# crates.io is limited to 5 keywords and 5 categories
keywords = ["bitswap", "blockstore", "ipld", "cid"]
# Must be one of <https://crates.io/category_slugs>
categories = [
"asynchronous",
"cryptography::cryptocurrencies",
"network-programming",
"wasm",
]
[dependencies]
asynchronous-codec = "0.7"
blockstore = "0.7"
bytes = "1"
cid = "0.11"
fnv = "1.0.5"
futures-core = "0.3"
futures-timer = "3"
futures-util = "0.3"
web-time = "1.1.0"
libp2p-core = "0.42.0"
libp2p-identity = "0.2.9"
libp2p-swarm = "0.45.1"
multihash-codetable = "0.1"
quick-protobuf = "0.8"
smallvec = "1"
thiserror = "1"
tracing = "0.1"
unsigned-varint = "0.8"
void = "1"
# `time` is a dependency of a dependency but we need to specify it
# for fixing rust-lang/rust#125319.
time = { version = "0.3.36", default-features = false }
[dev-dependencies]
anyhow = "1.0"
clap = { version = "4.4", features = ["derive"] }
hex = "0.4"
libp2p = { version = "0.54.0", features = [
"tokio",
"tcp",
"identify",
"macros",
"noise",
"yamux",
] }
libp2p-stream = "0.2.0-alpha"
libp2p-swarm-test = "0.4.0"
multihash = "0.19"
multihash-codetable = { version = "0.1", features = ["digest", "sha2"] }
tokio = { version = "1", features = ["rt", "macros", "time", "sync"] }
tracing-appender = "0.2.2"
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
# needed for minimal-versions
log = "0.4.18"
[features]
wasm-bindgen = ["futures-timer/wasm-bindgen"]
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]