indexd 0.3.0

SDK for interacting with a Sia network indexer
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 = "2024"
name = "indexd"
version = "0.3.0"
authors = ["The Sia Foundation"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SDK for interacting with a Sia network indexer"
readme = false
keywords = [
    "sia",
    "decentralized",
    "blockchain",
    "depin",
    "storage",
]
categories = ["cryptography::cryptocurrencies"]
license = "MIT"
repository = "https://github.com/SiaFoundation/sia-sdk-rs"
resolver = "2"

[features]
default = ["platform-verifier"]
mock = []
platform-verifier = ["rustls-platform-verifier"]

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

[[bench]]
name = "upload"
path = "benches/upload.rs"
harness = false
required-features = ["mock"]

[dependencies.base64]
version = "0.22.1"

[dependencies.blake2]
version = "0.10.6"

[dependencies.blake2b_simd]
version = "1.0.4"

[dependencies.bytes]
version = "1.11.1"

[dependencies.chacha20poly1305]
version = "0.10.1"

[dependencies.chrono]
version = "0.4.44"
features = ["serde"]

[dependencies.hex]
version = "0.4.3"

[dependencies.hkdf]
version = "0.12.4"

[dependencies.log]
version = "0.4.29"

[dependencies.priority-queue]
version = "2.7.0"

[dependencies.quinn]
version = "0.11.9"
features = [
    "bloom",
    "log",
    "runtime-tokio",
    "rustls-ring",
]
default-features = false

[dependencies.rand]
version = "0.10.0"

[dependencies.reqwest]
version = "0.12.28"
features = [
    "charset",
    "http2",
    "json",
    "rustls-tls",
]
default-features = false

[dependencies.rustls]
version = "0.23.37"
features = [
    "ring",
    "logging",
    "std",
    "tls12",
]
default-features = false

[dependencies.rustls-platform-verifier]
version = "0.6.2"
optional = true

[dependencies.serde]
version = "1.0.228"

[dependencies.serde_json]
version = "1.0.149"

[dependencies.serde_with]
version = "3.18.0"
features = ["base64"]

[dependencies.sia_sdk]
version = "0.2.1"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.50.0"
features = [
    "fs",
    "sync",
    "io-util",
    "macros",
    "rt",
]

[dependencies.tokio-util]
version = "0.7.18"
features = ["rt"]

[dependencies.url]
version = "2.5.8"
features = ["serde"]

[dev-dependencies.criterion]
version = "0.8.2"
features = ["async_tokio"]

[dev-dependencies.httptest]
version = "0.16.4"

[dev-dependencies.rustls-platform-verifier]
version = "0.6.2"

[dev-dependencies.tokio]
version = "1.50.0"
features = ["macros"]