[package] name = "bip21" version = "0.5.0" authors = ["Martin Habovstiak "] edition = "2018" description = "Rust-idiomatic, compliant, flexible and performant BIP21 crate." repository = "https://github.com/Kixunil/bip21" readme = "README.md" keywords = ["bitcoin", "bip21", "parsing", "newtypes"] categories = ["cryptography::cryptocurrencies", "encoding", "rust-patterns", "value-formatting"] license = "MITNFA" [package.metadata.docs.rs] features = ["std", "non-compliant-bytes"] rustdoc-args = ["--cfg", "docsrs"] [features] # Implements std::error::Error for error types std = ["percent-encoding-rfc3986/std", "bitcoin/std"] # Enables non-BIP21-compliant feature of using raw bytes instead of validated UTF-8 strings. non-compliant-bytes = ["either"] [dependencies] either = { version = "1.6.1", optional = true } percent-encoding-rfc3986 = "0.1.3" bitcoin = { version = "0.32.0", default-features = false } [dev-dependencies] bitcoin = { version = "0.32.0", features = ["std"] }