[workspace] members = [".", "cli", "harness"] [package] name = "ipfs-embed" version = "0.26.1" authors = ["David Craven ", "Roland Kuhn "] edition = "2018" license = "MIT OR Apache-2.0" description = "small embeddable ipfs implementation" repository = "https://github.com/ipfs-rust/ipfs-embed" [features] default = ["async_global", "rsa", "ecdsa", "secp256k1"] rsa = ["libp2p/rsa"] ecdsa = ["libp2p/ecdsa"] secp256k1 = ["libp2p/secp256k1"] async_global = ["async-global-executor", "libp2p/async-std"] tokio = ["tokio-crate", "libp2p/tokio"] telemetry = ["tide", "async_global"] # Makes it possible to exchange data via Bitswap with a go-ipfs node compat = ["libp2p-bitswap/compat"] [dependencies] anyhow = "1.0.56" async-global-executor = { version = "2.0.3", optional = true } async-trait = "0.1.52" chrono = "0.4.19" fnv = "1.0.7" futures = "0.3.21" futures-timer = "3.0.2" ipfs-sqlite-block-store = "0.13.0" lazy_static = "1.4.0" libipld = { version = "0.14.0", default-features = false } libp2p-bitswap = "0.25.0" libp2p-broadcast = "0.12.0" names = "0.13.0" parking_lot = "0.11.2" pin-project = "1.0.10" prometheus = "0.13.0" rand = "0.8.5" thiserror = "1.0.30" tide = { version = "0.16.0", optional = true } tokio-crate = { package = "tokio", version = "1.17.0", features = ["rt"], optional = true } tracing = "0.1.32" trust-dns-resolver = "0.22.0" void = "1.0.2" [dependencies.libp2p] version = "0.50.0" features = [ "dns", "gossipsub", "identify", "kad", "macros", "mdns", "mplex", "noise", "ping", "pnet", "tcp", "yamux", ] [dev-dependencies] anyhow = { version = "1", features = ["backtrace"] } async-executor = "1.4.1" async-std = { version = "1.11.0", features = ["attributes"] } libipld = { version = "0.14.0", default-features = false, features = ["dag-cbor", "dag-pb", "derive"] } libp2p-bitswap = { version = "0.25.0", default-features = false, features = ["compat"] } multihash = { version = "0.16.1", default-features = false, features = ["blake3"] } rand = "0.8.5" regex = "1.5.5" tempdir = "0.3.7" tracing-subscriber = { version = "0.3.9", features = ["env-filter"] } [profile.release] debug = true