web-search 0.4.0

A multi-provider web search aggregator with reranking support
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.96"
name = "web-search"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A multi-provider web search aggregator with reranking support"
readme = "README.md"
keywords = [
    "web-search",
    "search-engine",
    "google",
    "duckduckgo",
    "bing",
]
categories = [
    "web-programming",
    "api-bindings",
]
license = "Unlicense"
repository = "https://github.com/link-assistant/web-search"

[features]
default = ["server"]
server = []

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

[[bin]]
name = "web-search"
path = "src/main.rs"

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

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

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

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

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

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

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

[dependencies.axum]
version = "0.8"

[dependencies.clap]
version = "4.6"
features = ["derive"]

[dependencies.futures]
version = "0.3"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.13"
features = [
    "form",
    "json",
]

[dependencies.scraper]
version = "0.27"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.52"
features = ["full"]

[dependencies.tower-http]
version = "0.6"
features = ["cors"]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.url]
version = "2.5"

[dependencies.urlencoding]
version = "2.1"

[dependencies.web-capture]
version = "0.3.31"

[dev-dependencies.tokio-test]
version = "0.4"

[dev-dependencies.wiremock]
version = "0.6"

[lints.rust]
unsafe_code = "forbid"

[profile.release]
lto = true
codegen-units = 1
strip = true