# 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" rust-version = "1.63.0" name = "bitcoin-units" version = "0.2.0" authors = ["Andrew Poelstra "] exclude = [ "tests", "contrib", ] description = "Basic Bitcoin numeric units such as amount" readme = "README.md" keywords = [ "bitcoin", "newtypes", ] categories = ["cryptography::cryptocurrencies"] license = "CC0-1.0" repository = "https://github.com/rust-bitcoin/rust-bitcoin/" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.arbitrary] version = "1" optional = true [dependencies.internals] version = "0.4.0" package = "bitcoin-internals" [dependencies.serde] version = "1.0.103" features = ["derive"] optional = true default-features = false [dev-dependencies.internals] version = "0.4.0" features = ["test-serde"] package = "bitcoin-internals" [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