[package] name = "kyoto-cbf" version = "0.6.0" authors = ["Rob "] 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.4.0", default-features = false, features = [ "27_0", ] } hex = { version = "0.4.0" } serde_json = "1.0.115" tracing = "0.1" tracing-subscriber = "0.3" tempfile = "3" tokio = { version = "1", 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"]