-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
47 lines (40 loc) · 1.59 KB
/
Cargo.toml
File metadata and controls
47 lines (40 loc) · 1.59 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
37
38
39
40
41
42
43
44
45
46
47
[package]
name = "bitcoin-encrypted-backup"
version = "1.0.0"
edition = "2021"
readme = "README.md"
description = "Bitcoin Encrypted Backup"
documentation = "https://docs.rs/bitcoin-encrypted-backup"
license-file = "LICENSE"
repository = "https://github.com/pythcoiner/bitcoin-encrypted-backup"
[dependencies]
chacha20poly1305 = {version = "0.10.1", default-features = false, features = ["alloc"]}
rand = {version = "0.9.2", optional = true}
base64 = {version = "0.22", default-features = false, features = ["alloc"], optional = true}
#miniscript
mscript_12_3_5 = { version = "12.3.5", default-features = false, features = ["serde", "no-std"], package = "miniscript" , optional = true}
mscript_12_0 = { version = "12.0", default-features = false, features = ["serde", "no-std"], package = "miniscript" , optional = true}
# devices
async-hwi = {version = "0.0.29", optional = true}
# cli
clap = { version = "=4.5.42", features = ["derive"] , optional = true}
tokio = { version = "1", features = ["macros", "net", "rt", "rt-multi-thread", "io-util", "sync"], optional = true}
[dev-dependencies]
hex = "0.4.3"
rand = {version = "0.9.2"}
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.145"
[[bin]]
name = "beb"
path = "src/bin/main.rs"
required-features = ["cli"]
[features]
default = ["miniscript_latest", "rand", "base64"]
rand = ["dep:rand"]
base64 = ["dep:base64"]
miniscript_latest = ["miniscript_12_3_5"]
miniscript_12_3_5 = ["mscript_12_3_5"]
miniscript_12_0 = ["mscript_12_0"]
tokio = ["dep:tokio"]
devices = ["dep:async-hwi", "tokio"]
cli = ["dep:clap", "tokio", "miniscript_latest", "rand"]