# 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 = "psbt-v2" version = "0.2.0" authors = ["Tobin C. Harding "] build = false exclude = [ "tests", "contrib", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Partially Signed Bitcoin Transaction, v0 and v2" readme = "README.md" keywords = [ "psbt", "bip-174", "bip174", "bip-370", "bip370", ] categories = ["cryptography::cryptocurrencies"] license = "CC0-1.0" repository = "https://github.com/tcharding/rust-psbt/" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "psbt_v2" path = "src/lib.rs" [[example]] name = "v0" path = "examples/v0.rs" required-features = ["std"] [[example]] name = "v2" path = "examples/v2.rs" required-features = ["std"] [[example]] name = "v2-separate-creator-constructor" path = "examples/v2-separate-creator-constructor.rs" required-features = ["std"] [dependencies.actual-serde] version = "1.0.103" features = [ "derive", "alloc", ] optional = true default-features = false package = "serde" [dependencies.bitcoin] version = "0.32.2" default-features = false [dependencies.bitcoin-internals] version = "0.3.0" features = ["alloc"] [dependencies.miniscript] version = "12.2.0" optional = true default-features = false [dev-dependencies.anyhow] version = "1" [dev-dependencies.bincode] version = "1.3.1" [dev-dependencies.secp256k1] version = "0.29" features = [ "rand-std", "global-context", ] [dev-dependencies.serde_derive] version = "1.0.103" [dev-dependencies.serde_json] version = "1.0.0" [dev-dependencies.serde_test] version = "1.0.19" [features] base64 = ["bitcoin/base64"] default = ["std"] miniscript-no-std = ["miniscript/no-std"] miniscript-std = [ "std", "miniscript/std", ] rand = ["bitcoin/rand"] rand-std = ["bitcoin/rand-std"] serde = [ "actual-serde", "bitcoin/serde", "bitcoin-internals/serde", ] std = [ "bitcoin/std", "bitcoin-internals/std", ]