# 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 = "bitcoin_slices" version = "0.9.0" authors = ["Riccardo Casatta "] description = "Parse Bitcoin objects without allocations" documentation = "https://docs.rs/bitcoin_slices/" readme = "README.md" keywords = [ "bitcoin", "blocks", "transaction", "parse", "slices", ] categories = [ "no-std", "cryptography::cryptocurrencies", "encoding", ] license = "MIT" repository = "https://github.com/RCasatta/bitcoin_slices" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[bench]] name = "benches" harness = false required-features = [ "bitcoin_hashes", "bitcoin", "sha2", ] [dependencies.bitcoin] version = "0.32.0" optional = true [dependencies.bitcoin_hashes] version = "0.14" optional = true [dependencies.hashbrown] version = "0.14" optional = true [dependencies.prometheus] version = "0.13.4" optional = true [dependencies.redb] version = "1.0" optional = true [dependencies.sha2] version = "0.10" optional = true [dev-dependencies.bitcoin] version = "0.32.0" features = ["rand"] [dev-dependencies.bitcoin-test-data] version = "0.2.0" [dev-dependencies.criterion] version = "0.3" [dev-dependencies.hex_lit] version = "0.1" features = ["rust_v_1_46"] [dev-dependencies.tempfile] version = "3.4.0" [features] bitcoin = [ "dep:bitcoin", "bitcoin_hashes", ] bitcoin_hashes = ["dep:bitcoin_hashes"] default = [] prometheus = [ "dep:prometheus", "slice_cache", ] redb = ["dep:redb"] sha2 = ["dep:sha2"] slice_cache = ["dep:hashbrown"]