[package] name = "bitcoin-internals" version = "0.4.0" authors = ["Andrew Poelstra ", "The Rust Bitcoin developers"] license = "CC0-1.0" repository = "https://github.com/rust-bitcoin/rust-bitcoin/" documentation = "https://docs.rs/bitcoin-internals" description = "Internal types and macros used by rust-bitcoin ecosystem" categories = ["cryptography::cryptocurrencies", "no-std"] keywords = ["internal"] readme = "README.md" edition = "2021" rust-version = "1.63.0" exclude = ["tests", "contrib"] [features] default = [] std = ["alloc", "hex?/std"] alloc = ["hex?/alloc"] test-serde = ["serde", "serde_json", "bincode"] [dependencies] hex = { package = "hex-conservative", version = "0.3.0", default-features = false, optional = true } serde = { version = "1.0.103", default-features = false, optional = true } # Don't enable these directly, use `test-serde` feature instead. serde_json = { version = "1.0.68", optional = true } bincode = { version = "1.3.1", optional = true } [dev-dependencies] [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"] [lints.rust] unexpected_cfgs = { level = "deny", check-cfg = ['cfg(kani)'] }