[package]
edition = "2024"
name = "web-retrieval"
version = "0.2.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Web fetch and web search MCP tools"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/allisoneer/agentic_auxilary"
resolver = "2"
[package.metadata.dist]
dist = false
[package.metadata.repo]
role = "tool-lib"
family = "tools"
[package.metadata.repo.integrations]
mcp = false
logging = false
napi = false
[lib]
name = "web_retrieval"
path = "src/lib.rs"
[[test]]
name = "fetch_streaming"
path = "tests/fetch_streaming.rs"
[dependencies.agentic-config]
version = "0.1.1"
[dependencies.agentic-tools-core]
version = "0.1.2"
[dependencies.anthropic-async]
version = "0.5.2"
[dependencies.chrono]
version = "0.4"
features = [
"serde",
"serde",
]
[dependencies.exa-async]
version = "0.1.2"
[dependencies.futures]
version = "0.3"
[dependencies.htmd]
version = "0.5"
[dependencies.opencode_rs]
version = "0.4.0"
features = ["http"]
[dependencies.reqwest]
version = "0.13.2"
features = [
"json",
"gzip",
"brotli",
"deflate",
"stream",
"rustls",
]
default-features = false
[dependencies.schemars]
version = "1"
features = [
"derive",
"derive",
]
[dependencies.serde]
version = "1.0"
features = [
"derive",
"derive",
]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1"
features = [
"full",
"macros",
"rt-multi-thread",
]
[dependencies.tracing]
version = "0.1"
[dependencies.url]
version = "2"
[dev-dependencies.tokio]
version = "1"
features = [
"full",
"macros",
"rt-multi-thread",
]
[dev-dependencies.wiremock]
version = "0.6"
[lints.clippy]
allow_attributes = "warn"
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
clone_on_ref_ptr = "warn"
create_dir = "warn"
dbg_macro = "warn"
default_trait_access = "allow"
exit = "warn"
expect_used = "warn"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
option_if_let_else = "allow"
rest_pat_in_fully_bound_structs = "warn"
self_named_module_files = "warn"
significant_drop_tightening = "allow"
struct_excessive_bools = "allow"
suboptimal_flops = "allow"
too_many_lines = "allow"
undocumented_unsafe_blocks = "warn"
unused_result_ok = "warn"
unwrap_used = "warn"
wildcard_dependencies = "warn"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]