[package] name = "bitcoin-primitives" # Arbitrary high version number so as to not clash with the original # `bitcoin-primitives` crate that we replaced `v0.1.16-alpha`. version = "0.100.0" authors = ["Andrew Poelstra "] license = "CC0-1.0" repository = "https://github.com/rust-bitcoin/rust-bitcoin" description = "Primitive types used by the rust-bitcoin eccosystem" categories = ["cryptography::cryptocurrencies"] keywords = ["bitcoin", "types"] readme = "README.md" edition = "2021" rust-version = "1.56.1" exclude = ["tests", "contrib"] [features] default = ["std"] std = ["alloc", "internals/std"] alloc = ["internals/alloc"] serde = ["actual-serde", "internals/serde"] [dependencies] internals = { package = "bitcoin-internals", version = "0.3.0" } # Do NOT use this as a feature! Use the `serde` feature instead. actual-serde = { package = "serde", version = "1.0.103", default-features = false, optional = true } [dev-dependencies] [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"]