holo_hash 0.7.0-dev.7

hashing helpers supporting dht sharding
Documentation
# 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 = "holo_hash"
version = "0.7.0-dev.7"
authors = ["Holochain Core Dev Team <devcore@holochain.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "hashing helpers supporting dht sharding"
documentation = "https://docs.rs/holo_hash"
readme = "README.md"
keywords = [
    "holochain",
    "holo",
    "hash",
    "blake",
    "blake2b",
]
categories = ["cryptography"]
license = "Apache-2.0"
repository = "https://github.com/holochain/holochain"

[package.metadata.cargo-udeps.ignore]
normal = ["tracing"]

[features]
default = [
    "serialization",
    "holochain-wasmer",
]
encoding = [
    "dep:base64",
    "dep:blake2b_simd",
    "dep:derive_more",
    "dep:sha2",
]
fixturators = [
    "dep:fixt",
    "dep:rand",
    "hashing",
    "encoding",
]
full = [
    "fixturators",
    "hashing",
    "encoding",
    "sqlite",
]
fuzzing = [
    "dep:proptest",
    "dep:proptest-derive",
    "holochain_serialized_bytes?/fuzzing",
]
hashing = [
    "dep:futures",
    "dep:must_future",
    "dep:blake2b_simd",
    "serialization",
]
holochain-wasmer = ["dep:holochain_wasmer_common"]
kitsune2 = [
    "dep:bytes",
    "dep:kitsune2_api",
]
schema = ["dep:schemars"]
serialization = [
    "dep:holochain_serialized_bytes",
    "dep:serde",
    "dep:serde_bytes",
]
sqlite = [
    "dep:rusqlite",
    "rusqlite/bundled",
]
sqlite-encrypted = [
    "dep:rusqlite",
    "rusqlite/bundled-sqlcipher-vendored-openssl",
]
test_utils = ["fixturators"]

[lib]
name = "holo_hash"
path = "src/lib.rs"

[dependencies.base64]
version = "0.22"
optional = true

[dependencies.blake2b_simd]
version = "1.0"
optional = true

[dependencies.bytes]
version = "1"
optional = true

[dependencies.derive_more]
version = "2.0"
features = [
    "as_ref",
    "constructor",
    "display",
    "into",
    "from",
]
optional = true

[dependencies.fixt]
version = "^0.7.0-dev.0"
optional = true

[dependencies.futures]
version = "0.3"
optional = true

[dependencies.holochain_serialized_bytes]
version = "=0.0.56"
optional = true

[dependencies.holochain_util]
version = "^0.7.0-dev.1"
default-features = false

[dependencies.holochain_wasmer_common]
version = "=0.0.101"
optional = true

[dependencies.kitsune2_api]
version = "0.4.0-dev.5"
optional = true

[dependencies.must_future]
version = "0.1"
optional = true

[dependencies.proptest]
version = "1"
optional = true

[dependencies.proptest-derive]
version = "0"
optional = true

[dependencies.rand]
version = "0.9"
optional = true

[dependencies.rusqlite]
version = "0.37"
optional = true

[dependencies.schemars]
version = "0.9"
optional = true

[dependencies.serde]
version = "1"
optional = true

[dependencies.serde_bytes]
version = "0.11"
optional = true

[dependencies.sha2]
version = "0.10"
optional = true

[dependencies.thiserror]
version = "2.0"

[dev-dependencies.serde_json]
version = "1.0"
features = ["preserve_order"]

[lints.clippy]
complexity = "deny"
correctness = "deny"
dbg_macro = "deny"
perf = "deny"
style = "deny"

[lints.clippy.cargo]
level = "allow"
priority = -1

[lints.clippy.nursery]
level = "allow"
priority = -1

[lints.clippy.pedantic]
level = "allow"
priority = -1

[lints.clippy.restriction]
level = "allow"
priority = -1

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(build_wasm)",
    "cfg(loom)",
]