-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
80 lines (72 loc) · 2.13 KB
/
Cargo.toml
File metadata and controls
80 lines (72 loc) · 2.13 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[package]
name = "yuki"
version = "0.0.1"
authors = ["buffrr <contact@buffrr.dev>", "Rob <rustaceanrob@protonmail.com>"]
edition = "2024"
license = "MIT OR Apache-2.0"
description = "A light Bitcoin node"
repository = "https://github.com/buffrr/yuki"
readme = "README.md"
keywords = ["bitcoin", "cryptography", "network", "peer-to-peer"]
categories = ["cryptography::cryptocurrencies"]
[dependencies]
clap = { version = "4.5.32", features = ["derive", "env"] }
bitcoin = { version = "0.32.5", default-features = false, features = [
"rand-std", "serde"
] }
bip324 = { version = "0.6.0", default-features = false, features = [
"std",
"alloc",
"tokio",
] }
tokio = { version = "1.37", default-features = false, features = [
"rt-multi-thread",
"sync",
"time",
"io-util",
"net",
"macros",
"signal",
"fs"
] }
serde_json = "1.0.140"
reqwest = { version = "0.12.5", default-features = false, features = ["rustls-tls", "stream"] }
futures-util = "0.3.31"
# Optional dependencies
rusqlite = { version = "0.31.0", features = ["bundled"], optional = true }
arti-client = { version = "0.21.0", features = [
"rustls",
"tokio",
"onion-service-client",
"experimental-api",
], default-features = false, optional = true }
tor-rtcompat = { version = "0.21.0", features = ["tokio"], optional = true }
jsonrpsee = { version = "0.22.5", features = ["server", "http-client", "macros"] }
serde = { version = "1.0.219", features = ["derive"] }
bincode = { version = "2.0.1", features = ["serde"] }
tokio-util = "0.7.11"
env_logger = "0.11.7"
anyhow = "1.0.97"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
hex = { version = "0.4.0" }
[features]
default = ["database", "filter-control"]
database = ["rusqlite"]
tor = ["arti-client", "tor-rtcompat"]
filter-control = []
[dev-dependencies]
corepc-node = { version = "0.5.0", default-features = false, features = [
"28_0",
] }
tempfile = "3"
tokio = { version = "1.37", default-features = false, features = [
"full",
] }
[lib]
name = "yuki"
path = "src/lib.rs"
[[bin]]
name = "yuki"
path = "bin/yuki.rs"
required-features = ["filter-control"]