# 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.80"
name = "nexo-plugin-web-search"
version = "0.1.1"
authors = ["Cristian García <informacion@cristiangarcia.co>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Multi-provider web search (Brave / Tavily / DuckDuckGo / Perplexity) tool plugin for Nexo agents (out-of-tree subprocess)."
readme = "README.md"
keywords = [
    "nexo",
    "plugin",
    "web-search",
    "brave",
    "tavily",
]
categories = ["api-bindings"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/lordmacu/nexo-rs-plugin-web-search"

[features]
brave = ["nexo-web-search/brave"]
default = [
    "brave",
    "tavily",
    "duckduckgo",
]
duckduckgo = ["nexo-web-search/duckduckgo"]
perplexity = ["nexo-web-search/perplexity"]
tavily = ["nexo-web-search/tavily"]

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.arc-swap]
version = "1"

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

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

[dependencies.dashmap]
version = "6"

[dependencies.futures]
version = "0.3"

[dependencies.nexo-broker]
version = "0.1.5"

[dependencies.nexo-config]
version = "0.1.9"

[dependencies.nexo-core]
version = "0.2"

[dependencies.nexo-microapp-sdk]
version = "0.1.19"
features = ["plugin"]

[dependencies.nexo-plugin-manifest]
version = "0.1.6"

[dependencies.nexo-resilience]
version = "0.1.3"

[dependencies.nexo-web-search]
version = "0.2.0"
default-features = false

[dependencies.once_cell]
version = "1"

[dependencies.rustls]
version = "0.23"
features = [
    "ring",
    "std",
    "tls12",
    "logging",
]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.thiserror]
version = "1"

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

[dependencies.tracing]
version = "0.1"

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

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

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

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

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

[lints.clippy]
doc_lazy_continuation = "allow"
doc_overindented_list_items = "allow"
incompatible_msrv = "allow"

[profile.release]
lto = "thin"
codegen-units = 1
strip = "symbols"
