-
Notifications
You must be signed in to change notification settings - Fork 8
/
Cargo.toml
89 lines (78 loc) · 2.13 KB
/
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
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
81
82
83
84
85
86
87
88
89
[package]
name = "kyoto-cbf"
version = "0.7.0"
authors = ["Rob <[email protected]>"]
edition = "2021"
license = "MIT OR Apache-2.0"
description = "A Bitcoin light-client according to the BIP-157/BIP-158 specifications"
repository = "https://github.com/rustaceanrob/kyoto"
readme = "README.md"
keywords = ["bitcoin", "cryptography", "network", "peer-to-peer"]
categories = ["cryptography::cryptocurrencies"]
resolver = "2"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
bitcoin = { version = "0.32.5", default-features = false, features = [
"rand-std",
] }
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",
] }
# 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 }
[features]
default = ["database", "dns"]
database = ["rusqlite"]
dns = []
tor = ["arti-client", "tor-rtcompat"]
filter-control = []
[dev-dependencies]
corepc-node = { version = "0.5.0", default-features = false, features = [
"28_0",
] }
hex = { version = "0.4.0" }
tracing = "0.1"
tracing-subscriber = "0.3"
tempfile = "3"
tokio = { version = "1.37", default-features = false, features = [
"full",
] } # add feature "tracing" to use the console
# Enable the tokio-console task and poll observations
# console-subscriber = "0.3.0"
[lib]
name = "kyoto"
path = "src/lib.rs"
[[example]]
name = "signet"
path = "example/signet.rs"
[[example]]
name = "testnet"
path = "example/testnet4.rs"
[[example]]
name = "rescan"
path = "example/rescan.rs"
[[example]]
name = "tor"
path = "example/tor.rs"
required-features = ["tor"]
[[example]]
name = "managed"
path = "example/managed.rs"
required-features = ["filter-control"]