[dependencies.arbitrary]
optional = true
version = "1"
[dependencies.internals]
package = "bitcoin-internals"
version = "0.4.0"
[dependencies.serde]
default-features = false
features = ["derive"]
optional = true
version = "1.0.103"
[dev-dependencies.internals]
features = ["test-serde"]
package = "bitcoin-internals"
version = "0.4.0"
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.serde_test]
version = "1.0"
[features]
alloc = ["internals/alloc"]
default = ["std"]
std = ["alloc", "internals/std"]
[lints.rust.unexpected_cfgs]
level = "deny"
priority = 0
[package]
authors = ["Andrew Poelstra <apoelstra@wpsoftware.net>"]
categories = ["cryptography::cryptocurrencies"]
description = "Basic Bitcoin numeric units such as amount"
edition = "2021"
exclude = ["tests", "contrib"]
keywords = ["bitcoin", "newtypes"]
license = "CC0-1.0"
name = "bitcoin-units"
readme = "README.md"
repository = "https://github.com/rust-bitcoin/rust-bitcoin/"
rust-version = "1.63.0"
version = "0.2.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]