[package] name = "ipfs" version = "0.1.0" authors = ["David Craven "] edition = "2018" license = "MIT OR Apache-2.0" [features] default = [] nightly = [] all = ["rocksdb"] [dependencies] anyhow = "1.0.28" async-std = { version = "1.5.0", features = ["attributes", "std"] } async-trait = "0.1.29" bitswap = { path = "bitswap" } byteorder = "1.3.4" dirs = "2.0.2" domain = { git = "https://github.com/nlnetlabs/domain", rev="084964", features = ["resolv"] } futures = { version = "0.3.4", features = ["compat", "io-compat"] } libipld = { git = "https://github.com/ipfs-rust/rust-ipld", rev = "b2286c53c13f3eeec2a3766387f2926838e8e4c9", features = ["dag-pb", "dag-json"] } libp2p = "0.19.0" log = "0.4.8" multibase = "0.8.0" multihash = "0.10.1" 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", "examples", "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" }