chia-query 0.4.0

Query the Chia blockchain via decentralized peers with coinset.org fallback
Documentation
# 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 = "chia-query"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Query the Chia blockchain via decentralized peers with coinset.org fallback"
readme = "README.md"
keywords = [
    "chia",
    "blockchain",
    "coinset",
    "peer",
    "query",
]
categories = [
    "api-bindings",
    "cryptography::cryptocurrencies",
]
license = "MIT"
repository = "https://github.com/DIG-Network/chia-query"

[features]
coinset = [
    "dep:wasm-bindgen",
    "dep:wasm-bindgen-futures",
    "dep:js-sys",
    "dep:serde-wasm-bindgen",
    "dep:getrandom",
]
default = ["native"]
native = [
    "dep:chia",
    "dep:chia-protocol",
    "dep:clvmr",
    "dep:chia-wallet-sdk",
    "dep:dig-chainsource-interface",
    "dep:tokio",
    "dep:tokio-tungstenite",
    "dep:reqwest",
    "dep:rand",
    "dep:futures-util",
]

[lib]
name = "chia_query"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[[bin]]
name = "coinset_drift"
path = "src/bin/coinset_drift.rs"
required-features = ["native"]

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

[dependencies.chia]
version = "0.26"
optional = true

[dependencies.chia-protocol]
version = "0.26"
optional = true

[dependencies.chia-wallet-sdk]
version = "0.30"
features = ["native-tls"]
optional = true

[dependencies.clvmr]
version = "0.14"
optional = true

[dependencies.dig-chainsource-interface]
version = "0.1"
optional = true

[dependencies.futures-util]
version = "0.3"
optional = true

[dependencies.getrandom]
version = "0.2"
features = ["js"]
optional = true

[dependencies.hex]
version = "0.4"

[dependencies.js-sys]
version = "0.3"
optional = true

[dependencies.log]
version = "0.4"

[dependencies.rand]
version = "0.8"
optional = true

[dependencies.reqwest]
version = "0.12"
features = ["json"]
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde-wasm-bindgen]
version = "0.6"
optional = true

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]
optional = true

[dependencies.tokio-tungstenite]
version = "0.24"
optional = true

[dependencies.wasm-bindgen]
version = "0.2"
optional = true

[dependencies.wasm-bindgen-futures]
version = "0.4"
optional = true

[dev-dependencies.dig-chainsource-interface]
version = "0.1"
features = ["testing"]

[target.'cfg(target_os = "linux")'.dependencies.openssl]
version = "0.10"
features = ["vendored"]

[target.'cfg(target_os = "linux")'.dependencies.openssl-sys]
version = "0.9"
features = ["vendored"]