[package]
edition = "2021"
rust-version = "1.70"
name = "goldrush-sdk"
version = "0.1.0"
authors = ["Covalent <support@covalenthq.com>"]
build = false
include = [
"src/**/*.rs",
"Cargo.toml",
"README.md",
"LICENSE-MIT",
"LICENSE-APACHE",
"examples/**/*.rs",
"tests/**/*.rs",
"benches/**/*.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Production-ready Rust SDK for GoldRush blockchain data APIs with comprehensive features including caching, rate limiting, circuit breakers, and security enhancements"
homepage = "https://goldrush.dev"
documentation = "https://docs.rs/goldrush-sdk"
readme = "README.md"
keywords = [
"blockchain",
"web3",
"api",
"covalent",
"goldrush",
]
categories = [
"api-bindings",
"web-programming",
"cryptography::cryptocurrencies",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/covalenthq/goldrush-sdk-rs"
[features]
caching = ["moka"]
default = ["tokio-runtime"]
full = [
"tokio-runtime",
"caching",
]
tokio-runtime = ["tokio"]
[lib]
name = "goldrush_sdk"
path = "src/lib.rs"
[[example]]
name = "balances"
path = "examples/balances.rs"
required-features = ["tokio-runtime"]
[[example]]
name = "nfts"
path = "examples/nfts.rs"
[[example]]
name = "transactions"
path = "examples/transactions.rs"
required-features = ["tokio-runtime"]
[[test]]
name = "integration_balances"
path = "tests/integration_balances.rs"
[[test]]
name = "integration_nfts"
path = "tests/integration_nfts.rs"
[[test]]
name = "integration_transactions"
path = "tests/integration_transactions.rs"
[[bench]]
name = "sdk_benchmarks"
path = "benches/sdk_benchmarks.rs"
harness = false
[dependencies.backoff]
version = "0.4"
[dependencies.moka]
version = "0.12"
features = ["future"]
optional = true
[dependencies.reqwest]
version = "0.11"
features = [
"json",
"gzip",
"brotli",
"deflate",
"rustls-tls",
]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "1"
[dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
]
optional = true
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-futures]
version = "0.2"
[dependencies.uuid]
version = "1.0"
features = ["v4"]
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
]