[package]
edition = "2024"
name = "webshift"
version = "0.2.13"
authors = ["Hannibal <annibale.x@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Denoised web search library — fetch, clean, and rerank web content for AI agents."
readme = "README.md"
keywords = [
"web-search",
"html-to-text",
"mcp",
"llm",
"web-scraping",
]
categories = [
"text-processing",
"web-programming",
]
license = "MIT"
repository = "https://github.com/x-hannibal/webshift"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
backends = []
default = ["backends"]
llm = []
text-map = ["lol_html"]
[lib]
name = "webshift"
path = "src/lib.rs"
[[test]]
name = "integration_backends"
path = "tests/integration_backends.rs"
[[test]]
name = "integration_fetch"
path = "tests/integration_fetch.rs"
[[test]]
name = "integration_llm"
path = "tests/integration_llm.rs"
[[test]]
name = "integration_textmap"
path = "tests/integration_textmap.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.dirs-next]
version = "2"
[dependencies.futures]
version = "0.3"
[dependencies.lol_html]
version = "2"
optional = true
[dependencies.rand]
version = "0.8"
[dependencies.regex]
version = "1"
[dependencies.reqwest]
version = "0.12"
features = [
"stream",
"gzip",
"brotli",
"json",
"rustls-tls",
]
default-features = false
[dependencies.scraper]
version = "0.20"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"time",
]
[dependencies.toml]
version = "0.8"
[dependencies.tracing]
version = "0.1"
[dependencies.url]
version = "2"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"test-util",
]
[dev-dependencies.wiremock]
version = "0.6"