# 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"
name = "bindex"
version = "0.1.1"
authors = ["Roman Zeyde <me@romanzey.de>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bitcoin indexing library in Rust"
homepage = "https://github.com/romanz/bindex-rs"
documentation = "https://docs.rs/bindex/"
readme = "README.md"
keywords = [
    "bitcoin",
    "index",
    "database",
]
license = "MIT"
repository = "https://github.com/romanz/bindex-rs"

[features]
bitcoin_serde = ["bitcoin/serde"]
cache = ["dep:rusqlite"]

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

[dependencies.bitcoin]
version = "0.32"
default-features = false

[dependencies.bitcoin_slices]
version = "0.11"
features = ["bitcoin"]

[dependencies.log]
version = "0.4"

[dependencies.rayon]
version = "1.12"

[dependencies.rusqlite]
version = "0.37"
optional = true

[dependencies.rust-rocksdb]
version = "0.36.0"
features = ["zstd"]
default-features = false

[dependencies.serde]
version = "1.0"
features = ["serde_derive"]
default-features = false

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.ureq]
version = "3"
default-features = false

[dev-dependencies.corepc-node]
version = "0.12"
features = ["30_0"]
default-features = false

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

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