# 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 = "satsnet_slices" version = "0.9.9" authors = ["Jacky Chen "] description = "Parse Bitcoin objects without allocations" documentation = "https://github.com/sat20-labs/rust_satsnet_slices" readme = "README.md" keywords = [ "bitcoin", "blocks", "transaction", "parse", "slices", ] categories = [ "no-std", "cryptography::cryptocurrencies", "encoding", ] license = "MIT" repository = "https://github.com/sat20-labs/rust_satsnet_slices" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[bench]] name = "benches" harness = false required-features = [ "bitcoin_hashes", "bitcoin", "sha2", ] [dependencies.alloc] version = "1.0.0" optional = true package = "rustc-std-workspace-alloc" [dependencies.bitcoin] version = "=0.32.14" optional = true package = "satsnet" [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.14" features = ["rand"] package = "satsnet" [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"] bitcoin_with_satsnet = [ "alloc", "bitcoin", "bitcoin/satsnet", ] prometheus = [ "dep:prometheus", "slice_cache", ] redb = ["dep:redb"] sha2 = ["dep:sha2"] slice_cache = ["dep:hashbrown"]