agentkit-http 0.9.1

HTTP client abstraction used across agentkit. Default reqwest-backed implementation behind an opt-out feature; BYO impls plug in via the HttpClient trait.
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.92"
name = "agentkit-http"
version = "0.9.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTTP client abstraction used across agentkit. Default reqwest-backed implementation behind an opt-out feature; BYO impls plug in via the HttpClient trait."
homepage = "https://github.com/danielkov/agentkit"
readme = "README.md"
license = "MIT"
repository = "https://github.com/danielkov/agentkit"
resolver = "2"

[features]
default = ["reqwest-client"]
reqwest-client = ["dep:reqwest"]
reqwest-middleware-client = [
    "dep:reqwest",
    "dep:reqwest-middleware",
]

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

[dependencies.async-trait]
version = "0.1.89"

[dependencies.bytes]
version = "1"

[dependencies.futures-util]
version = "0.3.31"

[dependencies.http]
version = "1"

[dependencies.reqwest]
version = "0.13.2"
features = [
    "json",
    "rustls",
    "stream",
]
optional = true
default-features = false

[dependencies.reqwest-middleware]
version = "0.5"
optional = true

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

[dependencies.serde_json]
version = "1.0.145"

[dependencies.thiserror]
version = "2.0.17"

[dev-dependencies.tokio]
version = "1.47.1"
features = [
    "macros",
    "rt-multi-thread",
    "macros",
    "rt-multi-thread",
]