rust-ipfs/Cargo.toml

52 lines
1.6 KiB
TOML
Raw Normal View History

2019-01-30 15:03:09 +01:00
[package]
2019-02-01 17:59:08 +01:00
name = "ipfs"
2019-01-30 15:03:09 +01:00
version = "0.1.0"
authors = ["David Craven <david@craven.ch>"]
edition = "2018"
2020-02-20 15:15:10 +02:00
license = "MIT OR Apache-2.0"
2019-01-30 15:03:09 +01:00
2019-12-05 19:47:23 +02:00
[features]
default = []
2020-03-05 18:09:45 +01:00
nightly = []
2019-12-05 19:47:23 +02:00
all = ["rocksdb"]
2019-01-30 15:03:09 +01:00
[dependencies]
2020-04-05 20:08:22 +02:00
anyhow = "1.0.28"
2020-03-12 20:05:39 -03:00
async-std = { version = "1.5.0", features = ["attributes", "std"] }
2020-04-05 20:08:22 +02:00
async-trait = "0.1.29"
2020-03-12 18:14:20 -03:00
bitswap = { path = "bitswap" }
2020-02-23 14:10:32 +01:00
byteorder = "1.3.4"
2020-03-03 12:13:46 +01:00
dirs = "2.0.2"
2020-04-15 09:41:02 -04:00
domain = { git = "https://github.com/nlnetlabs/domain", rev="084964", features = ["resolv"] }
2020-03-12 20:05:39 -03:00
futures = { version = "0.3.4", features = ["compat", "io-compat"] }
libipld = { git = "https://github.com/ipfs-rust/rust-ipld", features = ["dag-pb"] }
2020-03-06 13:18:27 +01:00
libp2p = "0.16.2"
2020-02-23 14:10:32 +01:00
log = "0.4.8"
2020-03-06 13:18:27 +01:00
multibase = "0.8.0"
2020-03-09 18:11:45 +01:00
multihash = "0.10.1"
2020-02-06 18:42:34 +01:00
prost = "0.6.1"
2020-02-23 14:10:32 +01:00
rand = "0.7.3"
rocksdb = { version = "0.13.0", optional = true }
2020-04-05 20:08:22 +02:00
serde = { version = "1.0.106", features = ["derive"] }
serde_json = "1.0.51"
thiserror = "1.0.14"
2020-03-21 12:14:45 -03:00
void = "1.0.2"
2020-02-06 18:42:34 +01:00
[build-dependencies]
2020-02-06 20:02:39 +01:00
prost-build = "0.6.1"
2020-03-12 18:14:20 -03:00
[dev-dependencies]
env_logger = "0.7.1"
[workspace]
2020-03-21 12:10:32 -03:00
members = [ "bitswap", "http", "examples" ]
2020-03-05 18:09:45 +01:00
[patch.crates-io]
ctr = { git = "https://github.com/koivunej/stream-ciphers.git", branch = "ctr128-64to128" }
# these are needed for the floodsub local originated messages to be seen by subscribers
libp2p = { git = "https://github.com/koivunej/rust-libp2p.git", branch = "v0.16.2-with-floodsub-opts" }
libp2p-core = { git = "https://github.com/koivunej/rust-libp2p.git", branch = "v0.16.2-with-floodsub-opts" }
libp2p-swarm = { git = "https://github.com/koivunej/rust-libp2p.git", branch = "v0.16.2-with-floodsub-opts" }
libp2p-floodsub = { git = "https://github.com/koivunej/rust-libp2p.git", branch = "v0.16.2-with-floodsub-opts" }