# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "hypercore-protocol" version = "0.6.1" authors = [ "Franz Heinzmann (Frando) ", "Timo Tiuraniemi ", ] description = "Replication protocol for Hypercore feeds" documentation = "https://docs.rs/hypercore-protocol" readme = "README.md" keywords = [ "dat", "p2p", "replication", "hypercore", "protocol", ] categories = [ "asynchronous", "concurrency", "cryptography", "data-structures", "encoding", ] license = "MIT OR Apache-2.0" repository = "https://github.com/datrs/hypercore-protocol-rs" [profile.bench] [profile.release] [lib] bench = false [[bench]] name = "throughput" harness = false [[bench]] name = "pipe" harness = false [dependencies.async-channel] version = "1" [dependencies.async-trait] version = "0.1" [dependencies.blake2] version = "0.10" [dependencies.bytes] version = "1" [dependencies.crypto_secretstream] version = "0.2" [dependencies.curve25519-dalek] version = "4" [dependencies.futures-lite] version = "1" [dependencies.futures-timer] version = "3" [dependencies.hex] version = "0.4" [dependencies.hypercore] version = "0.14.0" default-features = false [dependencies.pretty-hash] version = "0.4" [dependencies.rand] version = "0.8" [dependencies.sha2] version = "0.10" [dependencies.snow] version = "0.9" features = ["risky-raw-split"] [dependencies.tracing] version = "0.1" [dev-dependencies.anyhow] version = "1.0.28" [dev-dependencies.async-compat] version = "0.2.1" [dev-dependencies.async-std] version = "1.12.0" features = [ "attributes", "unstable", ] [dev-dependencies.criterion] version = "0.4" features = ["async_std"] [dev-dependencies.duplexify] version = "1.1.0" [dev-dependencies.env_logger] version = "0.7.1" [dev-dependencies.futures] version = "0.3.13" [dev-dependencies.instant] version = "0.1" [dev-dependencies.log] version = "0.4" [dev-dependencies.pretty-bytes] version = "0.2.2" [dev-dependencies.sluice] version = "0.5.4" [dev-dependencies.test-log] version = "0.2.11" features = ["trace"] default-features = false [dev-dependencies.tokio] version = "1.27.0" features = [ "macros", "net", "process", "rt", "rt-multi-thread", "sync", "time", ] [dev-dependencies.tracing-subscriber] version = "0.3.16" features = [ "env-filter", "fmt", ] [features] async-std = ["hypercore/async-std"] cache = ["hypercore/cache"] default = [ "tokio", "sparse", ] js_interop_tests = [] sparse = ["hypercore/sparse"] tokio = ["hypercore/tokio"] wasm-bindgen = ["futures-timer/wasm-bindgen"]