rust-ipfs/Cargo.toml
ljedrz cc26f40d14 feat: update libp2p again
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-07-21 14:50:06 +02:00

57 lines
1.5 KiB
TOML

[package]
name = "ipfs"
version = "0.1.0"
authors = ["David Craven <david@craven.ch>"]
edition = "2018"
license = "MIT OR Apache-2.0"
[features]
default = []
nightly = []
all = ["rocksdb"]
[dependencies]
anyhow = "1.0.28"
async-std = { version = "1.6", features = ["attributes", "std"] }
async-trait = "0.1.29"
bitswap = { path = "bitswap" }
byteorder = "1.3.4"
cid = "0.5"
dirs = "2.0.2"
domain = { git = "https://github.com/nlnetlabs/domain", rev="084964", features = ["resolv"] }
futures = { version = "0.3.5", features = ["compat", "io-compat"] }
libipld = { git = "https://github.com/ljedrz/rust-ipld", branch = "update_cid", features = ["dag-pb", "dag-json"] }
libp2p = "0.22"
log = "0.4.8"
multibase = "0.8.0"
multihash = "0.11"
prost = "0.6.1"
rand = "0.7.3"
rocksdb = { version = "0.13.0", optional = true }
serde = { version = "1.0.106", features = ["derive"] }
serde_json = "1.0.51"
thiserror = "1.0.14"
void = "1.0.2"
ipfs-unixfs = { path = "unixfs" }
async-stream = "0.2.1"
[build-dependencies]
prost-build = "0.6.1"
[dev-dependencies]
env_logger = "0.7.1"
sha2 = "0.8.1"
hex-literal = "0.2.1"
[workspace]
members = [ "bitswap", "http", "unixfs" ]
[patch.crates-io]
ctr = { git = "https://github.com/koivunej/stream-ciphers.git", branch = "ctr128-64to128" }
# at least these libp2p components need to be patched if you want to use a local version
# libp2p = { path = "../libp2p" }
# libp2p-core = { path = "../libp2p" }
# libp2p-swarm = { path = "../libp2p" }
# libp2p-floodsub = { path = "../libp2p" }