forked from cygnet3/rust-silentpayments
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
36 lines (32 loc) · 1.15 KB
/
Copy pathCargo.toml
File metadata and controls
36 lines (32 loc) · 1.15 KB
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
30
31
32
33
34
35
36
[package]
name = "silentpayments"
version = "0.4.1"
authors = ["cygnet <cygnet3@proton.me>"]
license = "MIT"
edition = "2021"
description = "A library for adding BIP352: Silent Payments support to wallets."
homepage = "https://github.com/cygnet3/rust-silentpayments"
repository = "https://github.com/cygnet3/rust-silentpayments"
keywords = ["bitcoin", "secp256k1"]
readme = "README.md"
exclude = ["tests/resources"]
[lib]
name = "silentpayments"
crate-type = ["lib"]
[features]
default = ["encode", "sending", "receiving"]
encode = ["dep:bech32"]
serde = ["dep:serde"]
sending = ["dep:bitcoin_hashes", "dep:hex", "encode"]
receiving = ["dep:bitcoin_hashes", "dep:hex", "dep:bimap", "serde", "encode"]
[dependencies]
secp256k1 = {version = "0.28.1", features = ["rand"] }
hex = { version = "0.4", optional = true }
bech32 = { version = "0.9", optional = true }
bimap = { version = "0.6", optional = true }
serde = { version = "1.0", features = ["derive"], optional = true }
bitcoin_hashes = { version = "0.13.0", optional = true }
[dev-dependencies]
rust-bip39 = { version = "1.0.0", features = ["rand"] }
bitcoin ={ version = "0.31.1", features = ["serde"] }
serde_json = "1.0"