# 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" version = "0.14.0" authors = [ "Yoshua Wuyts ", "Timo Tiuraniemi ", ] description = "Secure, distributed, append-only log" documentation = "https://docs.rs/hypercore" readme = "README.md" keywords = [ "dat", "p2p", "stream", "feed", "merkle", ] categories = [ "asynchronous", "concurrency", "cryptography", "data-structures", "encoding", ] license = "MIT OR Apache-2.0" repository = "https://github.com/datrs/hypercore" [[bench]] name = "memory" harness = false [[bench]] name = "disk" harness = false [dependencies.async-broadcast] version = "0.7.1" optional = true [dependencies.async-lock] version = "3.4.0" optional = true [dependencies.blake2] version = "0.10" [dependencies.byteorder] version = "1" [dependencies.compact-encoding] version = "1" [dependencies.crc32fast] version = "1" [dependencies.ed25519-dalek] version = "2" features = ["rand_core"] [dependencies.flat-tree] version = "6" [dependencies.futures] version = "0.3" [dependencies.getrandom] version = "0.2" features = ["js"] [dependencies.intmap] version = "2" [dependencies.merkle-tree-stream] version = "0.12" [dependencies.moka] version = "0.12" features = ["sync"] optional = true [dependencies.pretty-hash] version = "0.4" [dependencies.rand] version = "0.8" [dependencies.random-access-memory] version = "3" [dependencies.random-access-storage] version = "5" [dependencies.sha2] version = "0.10" [dependencies.thiserror] version = "1" [dependencies.tracing] version = "0.1" [dev-dependencies.anyhow] version = "1.0.70" [dev-dependencies.async-std] version = "1.12.0" features = ["attributes"] [dev-dependencies.criterion] version = "0.4" features = [ "async_std", "async_tokio", ] [dev-dependencies.data-encoding] version = "2.2.0" [dev-dependencies.proptest] version = "1.1.0" [dev-dependencies.proptest-derive] version = "0.2.0" [dev-dependencies.remove_dir_all] version = "0.7.0" [dev-dependencies.sha2] version = "0.10" [dev-dependencies.tempfile] version = "3.1.0" [dev-dependencies.test-log] version = "0.2.11" features = ["trace"] default-features = false [dev-dependencies.tokio] version = "1.27.0" features = [ "macros", "rt", "rt-multi-thread", ] default-features = false [dev-dependencies.tokio-test] version = "0.4" [dev-dependencies.tracing-subscriber] version = "0.3.16" features = [ "env-filter", "fmt", ] [features] async-std = ["random-access-disk/async-std"] cache = ["moka"] default = [ "tokio", "sparse", "replication", ] js_interop_tests = [] replication = ["dep:async-broadcast"] shared-core = [ "replication", "dep:async-lock", ] sparse = ["random-access-disk/sparse"] tokio = ["random-access-disk/tokio"] [target."cfg(not(target_arch = \"wasm32\"))".dependencies.random-access-disk] version = "3" default-features = false