api_bindium 0.3.1

Framework for api binding crates
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"
rust-version = "1.85.0"
name = "api_bindium"
version = "0.3.1"
authors = ["RustyNova"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Framework for api binding crates"
readme = "README.md"
keywords = [
    "api_bindings",
    "foundation",
    "framework",
]
license = "MIT OR AGPL-3.0-or-later"
repository = "https://github.com/RustyNova016/api_bindium"

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

[features]
async = [
    "dep:blocking",
    "dep:async-io",
]
backtrace = []
cookies = ["ureq/cookies"]
default = [
    "rustls",
    "sync",
]
hotpath = [
    "dep:hotpath",
    "hotpath/hotpath",
]
hotpath-alloc = ["hotpath/hotpath-alloc"]
hotpath-off = ["hotpath/hotpath-off"]
image = ["dep:image"]
native_tls = ["ureq/native-tls"]
rate_limit = [
    "dep:governor",
    "async",
]
rustls = ["ureq/rustls"]
sync = []
tracing = ["dep:tracing"]

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

[[example]]
name = "get_request"
path = "examples/get_request.rs"
doc-scrape-examples = true
required-features = ["sync"]

[[example]]
name = "headers"
path = "examples/headers.rs"
doc-scrape-examples = true
required-features = ["sync"]

[[example]]
name = "post_request"
path = "examples/post_request.rs"
doc-scrape-examples = true
required-features = ["sync"]

[dependencies.async-io]
version = "2.6.0"
optional = true

[dependencies.blocking]
version = "1.6.0"
optional = true

[dependencies.bon]
version = "3.8.0"

[dependencies.governor]
version = "0.10.0"
optional = true

[dependencies.hotpath]
version = "0.13.0"
optional = true

[dependencies.image]
version = "0.25.0"
optional = true

[dependencies.serde_core]
version = "1.0.220"

[dependencies.serde_json]
version = "1.0.0"

[dependencies.snafu]
version = "0.9.0"

[dependencies.tracing]
version = "0.1.0"
optional = true

[dependencies.ureq]
version = "3.1.0"
features = [
    "json",
    "gzip",
]
default-features = false

[dependencies.url-escape]
version = "0.1.1"

[dev-dependencies.macro_rules_attribute]
version = "0.2.2"

[dev-dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dev-dependencies.smol-macros]
version = "0.1.1"