# 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 = "udigest" version = "0.2.2" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Unambiguously digest structured data" readme = "README.md" keywords = [ "hashing", "unambiguous-encoding", ] categories = [ "algorithms", "cryptography", "no-std", "no-std::no-alloc", ] license = "MIT OR Apache-2.0" repository = "https://github.com/LFDT-Lockness/udigest" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "udigest" path = "src/lib.rs" [[example]] name = "derivation" path = "examples/derivation.rs" required-features = [ "std", "derive", "digest", ] [[test]] name = "derive" path = "tests/derive.rs" required-features = [ "std", "derive", "digest", ] [[test]] name = "deterministic_hash" path = "tests/deterministic_hash.rs" required-features = [ "derive", "digest", ] [[test]] name = "digest_as" path = "tests/digest_as.rs" required-features = [ "derive", "inline-struct", ] [[test]] name = "encoding" path = "tests/encoding.rs" [[test]] name = "inline_struct" path = "tests/inline_struct.rs" required-features = [ "derive", "inline-struct", ] [dependencies.digest] version = "0.10" optional = true default-features = false [dependencies.udigest-derive] version = "0.3" optional = true [dev-dependencies.blake2] version = "0.10" [dev-dependencies.hex] version = "0.4" [dev-dependencies.sha2] version = "0.10" [dev-dependencies.sha3] version = "0.10" [features] alloc = [] default = [ "digest", "std", "inline-struct", ] derive = ["dep:udigest-derive"] digest = ["dep:digest"] inline-struct = [] std = ["alloc"]