rust-ipfs/Cargo.toml

57 lines
1.5 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"
async-std = { version = "1.6", 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"
cid = "0.5"
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"] }
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"
2020-02-23 14:10:32 +01:00
log = "0.4.8"
2020-03-06 13:18:27 +01:00
multibase = "0.8.0"
multihash = "0.11"
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-06-03 17:15:42 +03:00
ipfs-unixfs = { path = "unixfs" }
async-stream = "0.2.1"
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"
2020-06-05 16:59:23 +03:00
sha2 = "0.8.1"
hex-literal = "0.2.1"
2020-03-12 18:14:20 -03:00
[workspace]
2020-06-25 10:11:27 +02:00
members = [ "bitswap", "http", "unixfs" ]
2020-03-05 18:09:45 +01:00
[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" }