forked from eigerco/beetswap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
69 lines (63 loc) · 1.81 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
[package]
name = "beetswap"
version = "0.2.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.6"
bytes = "1"
cid = "0.11"
fnv = "1.0.5"
futures-core = "0.3"
futures-timer = "3"
futures-util = "0.3"
instant = "0.1.12"
libp2p-core = "0.41"
libp2p-identity = "0.2"
libp2p-swarm = "0.44"
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.53", features = ["tokio", "tcp", "identify", "macros"] }
libp2p-noise = "0.44"
libp2p-stream = "0.1.0-alpha"
libp2p-swarm-test = "0.3.0"
libp2p-yamux = "0.45"
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", "instant/wasm-bindgen"]
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]