-
Notifications
You must be signed in to change notification settings - Fork 11
/
Cargo.toml
29 lines (25 loc) · 1017 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[package]
name = "bip21"
version = "0.5.0"
authors = ["Martin Habovstiak <[email protected]>"]
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"] }