rust-ipfs/Cargo.toml

73 lines
3.2 KiB
TOML
Raw Normal View History

2019-01-30 15:03:09 +01:00
[package]
authors = ["Rust-IPFS contributors"]
2019-01-30 15:03:09 +01:00
edition = "2018"
2020-02-20 15:15:10 +02:00
license = "MIT OR Apache-2.0"
2020-08-01 13:44:27 -03:00
name = "ipfs"
readme = "README.md"
repository = "https://github.com/rs-ipfs/rust-ipfs"
description = "IPFS node implementation"
2020-10-08 10:49:14 +03:00
version = "0.2.1"
2019-01-30 15:03:09 +01:00
2019-12-05 19:47:23 +02:00
[features]
default = []
# feature will enable sled_data_store use in ipfs::Types (default used by ipfs-http for example)
# sled dependency is not guarded by this to keep compiling and test the pinstore.
sled_data_store = []
test_go_interop = []
test_js_interop = []
2019-12-05 19:47:23 +02:00
2019-01-30 15:03:09 +01:00
[dependencies]
anyhow = { default-features = false, version = "1.0" }
async-stream = { default-features = false, version = "0.3" }
2020-08-01 13:44:27 -03:00
async-trait = { default-features = false, version = "0.1" }
base64 = { default-features = false, features = ["alloc"], version = "0.12" }
ipfs-bitswap = { version = "0.1", path = "bitswap" }
byteorder = { default-features = false, version = "1.3" }
bytes = { default-features = false, version = "0.5" }
2020-08-01 13:44:27 -03:00
cid = { default-features = false, version = "0.5" }
dirs = { default-features = false, version = "3.0" }
domain = { default-features = false, version = "0.5" }
domain-resolv = { default-features = false, version = "0.5" }
either = { default-features = false, version = "1.5" }
futures = { default-features = false, version = "0.3.5", features = ["alloc", "std"] }
ipfs-unixfs = { version = "0.2", path = "unixfs" }
libp2p = { default-features = false, features = ["floodsub", "identify", "kad", "tcp-tokio", "mdns-tokio", "mplex", "noise", "ping", "yamux", "dns"], version = "0.30" }
2020-08-01 13:44:27 -03:00
multibase = { default-features = false, version = "0.8" }
multihash = { default-features = false, version = "0.11" }
prost = { default-features = false, version = "0.6" }
rand = { default-features = false, version = "0.7" }
serde = { default-features = false, features = ["derive"], version = "1.0" }
serde_json = { default-features = false, features = ["std"], version = "1.0" }
2020-08-01 13:44:27 -03:00
thiserror = { default-features = false, version = "1.0" }
tokio = { default-features = false, features = ["fs", "macros", "rt-multi-thread", "stream", "sync"], version = "0.3" }
tracing = { default-features = false, features = ["log"], version = "0.1" }
tracing-futures = { default-features = false, features = ["std", "futures-03"], version = "0.2" }
void = { default-features = false, version = "1.0" }
2020-11-10 17:40:32 +01:00
fs2 = "0.4.3"
tempfile = "3.1.0"
sled = "0.34"
once_cell = "1.5.2"
[target.'cfg(windows)'.dependencies]
# required for DNS resolution
ipconfig = { default-features = false, version = "0.2" }
2020-02-06 18:42:34 +01:00
[build-dependencies]
2020-08-01 13:44:27 -03:00
prost-build = { default-features = false, version = "0.6" }
2020-03-12 18:14:20 -03:00
[dev-dependencies]
2020-08-01 13:44:27 -03:00
hex-literal = { default-features = false, version = "0.3" }
sha2 = { default-features = false, version = "0.9" }
tokio = { default-features = false, features = ["io-std", "io-util"], version = "0.3" }
tracing-subscriber = { default-features = false, features = ["fmt", "tracing-log", "ansi", "env-filter"], version = "0.2" }
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
# 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" }