api_bindium 0.1.0

Framework for api binding crates
Documentation
[package]
name = "api_bindium"
version = "0.1.0"
edition = "2024"
rust-version = "1.85.0"
authors = ["RustyNova"]
description = "Framework for api binding crates"
keywords = ["api_bindings", "foundation", "framework"]
license = "MIT OR AGPL-3.0-or-later"
repository = "https://github.com/RustyNova016/api_bindium"

[dependencies]
# Fetching
ureq = { version = "3.1.4", default-features = false, features = ["json", "gzip"] }
governor = { version = "0.10.2", optional = true }

# Parsing
serde_core = { version = "1.0.220" }
serde_json = { version = "1.0.145" }

# Async
blocking = { version = "1.6.2", optional = true }
async-io = { version = "2.6.0", optional = true }

# Debuging
tracing = { version = "0.1.41", optional = true }
hotpath = { version = "0.9.0", optional = true }

# Others
bon = "3.8.1"
snafu = "0.8.9"
url-escape = "0.1.1"

[dev-dependencies]
serde = { version = "1.0.228", features = ["derive"] }

[features]
default = ["rustls"]

# Async
sync = []
async = ["dep:blocking", "dep:async-io"]

# Fetching
native_tls = ["ureq/native-tls"]
rustls = ["ureq/rustls"]
rate_limit = ["dep:governor", "async"]
cookies = ["ureq/cookies"]

# Debugging
backtrace = []
tracing = ["dep:tracing"]
hotpath = ["dep:hotpath", "hotpath/hotpath"]
hotpath-alloc = ["hotpath/hotpath-alloc"]
hotpath-off = ["hotpath/hotpath-off"]

[package.metadata.docs.rs]
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]