# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.63.0"
name = "kyoto-cbf"
version = "0.14.0"
authors = ["Rob <rustaceanrob@protonmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Bitcoin light-client according to the BIP-157/BIP-158 specifications"
readme = "README.md"
keywords = [
    "bitcoin",
    "cryptography",
    "network",
    "peer-to-peer",
]
categories = ["cryptography::cryptocurrencies"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rustaceanrob/kyoto"

[features]
default = ["rusqlite"]
filter-control = []
rusqlite = ["dep:rusqlite"]

[lib]
name = "kyoto"
path = "src/lib.rs"

[[example]]
name = "bitcoin"
path = "example/bitcoin.rs"

[[example]]
name = "managed"
path = "example/managed.rs"
required-features = ["filter-control"]

[[example]]
name = "signet"
path = "example/signet.rs"

[[test]]
name = "core"
path = "tests/core.rs"

[dependencies.bip324]
version = "0.7.0"
features = ["tokio"]
default-features = false

[dependencies.bitcoin]
version = "0.32.7"
features = ["rand-std"]
default-features = false

[dependencies.rusqlite]
version = "0.31.0"
features = ["bundled"]
optional = true

[dependencies.tokio]
version = "1.19"
features = [
    "rt-multi-thread",
    "sync",
    "time",
    "io-util",
    "net",
    "macros",
]
default-features = false

[dev-dependencies.corepc-node]
version = "0.7.1"
features = [
    "28_0",
    "download",
]
default-features = false

[dev-dependencies.hex]
version = "0.4.0"

[dev-dependencies.serde]
version = "1.0.219"
features = ["derive"]

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1.19"
features = [
    "full",
    "test-util",
]
default-features = false

[dev-dependencies.tracing]
version = "0.1"

[dev-dependencies.tracing-subscriber]
version = "0.3"
