[[bench]]
harness = false
name = "disk"
path = "benches/disk.rs"
[[bench]]
harness = false
name = "memory"
path = "benches/memory.rs"
[dependencies.async-broadcast]
optional = true
version = "0.7.1"
[dependencies.async-lock]
optional = true
version = "3.4.0"
[dependencies.blake2]
version = "0.10"
[dependencies.byteorder]
version = "1"
[dependencies.compact-encoding]
version = "2"
[dependencies.crc32fast]
version = "1"
[dependencies.ed25519-dalek]
features = ["rand_core"]
version = "2"
[dependencies.flat-tree]
version = "6"
[dependencies.futures]
version = "0.3"
[dependencies.getrandom]
features = ["js"]
version = "0.2"
[dependencies.intmap]
version = "2"
[dependencies.merkle-tree-stream]
version = "0.12"
[dependencies.moka]
features = ["sync"]
optional = true
version = "0.12"
[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]
features = ["attributes"]
version = "1.12.0"
[dev-dependencies.criterion]
features = ["async_std", "async_tokio"]
version = "0.4"
[dev-dependencies.data-encoding]
version = "2.2.0"
[dev-dependencies.proptest]
version = "1.6.0"
[dev-dependencies.proptest-derive]
version = "0.5.1"
[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]
default-features = false
features = ["trace"]
version = "0.2.11"
[dev-dependencies.tokio]
default-features = false
features = ["macros", "rt", "rt-multi-thread"]
version = "1.27.0"
[dev-dependencies.tokio-test]
version = "0.4"
[dev-dependencies.tracing-subscriber]
features = ["env-filter", "fmt"]
version = "0.3.16"
[[example]]
name = "disk"
path = "examples/disk.rs"
[[example]]
name = "memory"
path = "examples/memory.rs"
[[example]]
name = "replication"
path = "examples/replication.rs"
[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"]
[lib]
name = "hypercore"
path = "src/lib.rs"
[package]
authors = ["Yoshua Wuyts <yoshuawuyts@gmail.com>", "Timo Tiuraniemi <timo.tiuraniemi@iki.fi>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["asynchronous", "concurrency", "cryptography", "data-structures", "encoding"]
description = "Secure, distributed, append-only log"
documentation = "https://docs.rs/hypercore"
edition = "2021"
keywords = ["dat", "p2p", "stream", "feed", "merkle"]
license = "MIT OR Apache-2.0"
name = "hypercore"
readme = "README.md"
repository = "https://github.com/datrs/hypercore"
version = "0.15.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.random-access-disk]
default-features = false
version = "3"
[[test]]
name = "core"
path = "tests/core.rs"
[[test]]
name = "js_interop"
path = "tests/js_interop.rs"
[[test]]
name = "model"
path = "tests/model.rs"