harness-webfetch 0.1.0

WebFetch tool for AI agent harnesses — HTTP GET/POST with SSRF defense, readability+markdown extraction, redirect-chain reporting, size caps, and per-session cache
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 = "2021"
rust-version = "1.75"
name = "harness-webfetch"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "WebFetch tool for AI agent harnesses — HTTP GET/POST with SSRF defense, readability+markdown extraction, redirect-chain reporting, size caps, and per-session cache"
homepage = "https://github.com/avifenesh/tools/tree/main/crates/webfetch#readme"
documentation = "https://docs.rs/harness-webfetch"
readme = "README.md"
keywords = [
    "ai",
    "agent",
    "llm",
    "http",
    "webfetch",
]
categories = [
    "api-bindings",
    "web-programming::http-client",
]
license = "MIT"
repository = "https://github.com/avifenesh/tools"

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

[[bin]]
name = "harness-webfetch-cli"
path = "src/bin/cli.rs"

[[test]]
name = "webfetch"
path = "tests/webfetch.rs"

[dependencies.anyhow]
version = "1"

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

[dependencies.harness-core]
version = "0.1.0"

[dependencies.html2md]
version = "0.2"

[dependencies.readable-readability]
version = "0.4"

[dependencies.reqwest]
version = "0.12"
features = [
    "rustls-tls",
    "gzip",
]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
    "io-std",
    "io-util",
    "process",
    "signal",
    "sync",
    "time",
    "rt",
    "rt-multi-thread",
    "macros",
    "io-std",
    "io-util",
    "net",
    "time",
    "fs",
    "sync",
]

[dependencies.url]
version = "2"

[dependencies.uuid]
version = "1"
features = ["v4"]

[dev-dependencies.bytes]
version = "1"

[dev-dependencies.http-body-util]
version = "0.1"

[dev-dependencies.hyper]
version = "1"
features = [
    "server",
    "http1",
]

[dev-dependencies.hyper-util]
version = "0.1"
features = ["tokio"]

[dev-dependencies.tempfile]
version = "3"