rust-bitcoin-unsafe-fast/Cargo.toml

61 lines
2.2 KiB
TOML
Raw Normal View History

2014-07-18 13:56:17 +00:00
[package]
name = "bitcoin"
2022-04-05 20:39:13 +00:00
version = "0.28.0"
2014-07-18 13:56:17 +00:00
authors = ["Andrew Poelstra <apoelstra@wpsoftware.net>"]
license = "CC0-1.0"
homepage = "https://github.com/rust-bitcoin/rust-bitcoin/"
repository = "https://github.com/rust-bitcoin/rust-bitcoin/"
2018-04-11 19:13:43 +00:00
documentation = "https://docs.rs/bitcoin/"
description = "General purpose library for using and interoperating with Bitcoin and other cryptocurrencies."
keywords = [ "crypto", "bitcoin" ]
readme = "README.md"
exclude = ["./test_data"]
# Please don't forget to add relevant features to docs.rs below
2018-03-10 14:35:49 +00:00
[features]
default = [ "std", "secp-recovery" ]
base64 = [ "base64-compat" ]
2019-01-07 21:43:23 +00:00
unstable = []
rand = ["secp256k1/rand-std"]
2020-01-08 17:02:30 +00:00
use-serde = ["serde", "bitcoin_hashes/serde", "secp256k1/serde"]
2020-09-24 10:59:43 +00:00
secp-lowmemory = ["secp256k1/lowmemory"]
secp-recovery = ["secp256k1/recovery"]
2018-03-10 14:35:49 +00:00
# At least one of std, no-std must be enabled.
#
# The no-std feature doesn't disable std - you need to turn off the std feature for that by disabling default.
# Instead no-std enables additional features required for this crate to be usable without std.
# As a result, both can be enabled without conflict.
std = ["secp256k1/std", "bitcoin_hashes/std", "bech32/std"]
2021-08-02 07:55:37 +00:00
no-std = ["hashbrown", "core2/alloc", "bitcoin_hashes/alloc", "secp256k1/alloc"]
[package.metadata.docs.rs]
features = [ "std", "secp-recovery", "base64", "rand", "use-serde", "bitcoinconsensus" ]
rustdoc-args = ["--cfg", "docsrs"]
2015-03-26 15:44:49 +00:00
[dependencies]
bech32 = { version = "0.8.1", default-features = false }
bitcoin_hashes = { version = "0.10.0", default-features = false }
secp256k1 = { version = "0.22.0", default-features = false }
core2 = { version = "0.3.0", optional = true, default-features = false }
2020-01-07 19:27:05 +00:00
base64-compat = { version = "1.0.0", optional = true }
2021-05-04 01:13:52 +00:00
bitcoinconsensus = { version = "0.19.0-3", optional = true }
serde = { version = "1", features = [ "derive" ], optional = true }
hashbrown = { version = "0.8", optional = true }
2018-11-10 00:45:00 +00:00
[dev-dependencies]
serde_json = "<1.0.45"
2018-11-10 00:45:00 +00:00
serde_test = "1"
secp256k1 = { version = "0.22.0", features = [ "recovery", "rand-std" ] }
bincode = "1.3.1"
# We need to pin ryu (transitive dep from serde_json) to stay compatible with Rust 1.22.0
ryu = "<1.0.5"
[[example]]
name = "bip32"
[[example]]
name = "handshake"
required-features = ["std"]