[package]
edition = "2021"
rust-version = "1.75"
name = "nexo-plugin-browser"
version = "0.4.3"
authors = ["Cristian GarcĂa <informacion@cristiangarcia.co>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Chrome DevTools Protocol (CDP) browser plugin for Nexo agents (out-of-tree subprocess)."
readme = "README.md"
keywords = [
"nexo",
"plugin",
"browser",
"cdp",
"agent",
]
categories = [
"api-bindings",
"command-line-utilities",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/lordmacu/nexo-plugin-browser"
[features]
auto-download = [
"dep:zip",
"dep:dirs",
]
default = []
[lib]
name = "nexo_plugin_browser"
path = "src/lib.rs"
[[bin]]
name = "nexo-plugin-browser"
path = "src/main.rs"
[[test]]
name = "auto_download"
path = "tests/auto_download.rs"
[[test]]
name = "config_migration"
path = "tests/config_migration.rs"
[[test]]
name = "configure_boot"
path = "tests/configure_boot.rs"
[[test]]
name = "configure_path"
path = "tests/configure_path.rs"
[[test]]
name = "dispatch_routing"
path = "tests/dispatch_routing.rs"
[[test]]
name = "e2e_auto_discovery_subscriber"
path = "tests/e2e_auto_discovery_subscriber.rs"
[[test]]
name = "e2e_handshake"
path = "tests/e2e_handshake.rs"
[[test]]
name = "e2e_multi_instance"
path = "tests/e2e_multi_instance.rs"
[[test]]
name = "e2e_multi_instance_isolation"
path = "tests/e2e_multi_instance_isolation.rs"
[[test]]
name = "e2e_multi_profile"
path = "tests/e2e_multi_profile.rs"
[[test]]
name = "e2e_persistence"
path = "tests/e2e_persistence.rs"
[[test]]
name = "manifest_parse"
path = "tests/manifest_parse.rs"
[[bench]]
name = "tool_latency"
path = "benches/tool_latency.rs"
harness = false
[dependencies.anyhow]
version = "1"
[dependencies.async-trait]
version = "0.1"
[dependencies.base64]
version = "0.22"
[dependencies.dashmap]
version = "6"
[dependencies.dirs]
version = "5"
optional = true
[dependencies.futures]
version = "0.3"
[dependencies.nexo-broker]
version = "0.1.5"
[dependencies.nexo-cdp]
version = "0.1.0"
[dependencies.nexo-config]
version = "0.1.9"
[dependencies.nexo-microapp-sdk]
version = "0.1.18"
features = ["plugin"]
[dependencies.once_cell]
version = "1"
[dependencies.prometheus]
version = "0.14"
default-features = false
[dependencies.reqwest]
version = "0.12"
features = ["rustls-tls"]
default-features = false
[dependencies.rustls]
version = "0.23"
features = ["ring"]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.sha2]
version = "0.10"
[dependencies.thiserror]
version = "1"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"sync",
"process",
"io-util",
"time",
]
[dependencies.tokio-tungstenite]
version = "0.24"
[dependencies.tokio-util]
version = "0.7"
[dependencies.toml]
version = "0.8"
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
version = "1"
features = [
"serde",
"v4",
]
[dependencies.which]
version = "7"
[dependencies.zip]
version = "2"
optional = true
[dev-dependencies.assert_cmd]
version = "2"
[dev-dependencies.libc]
version = "0.2"
[dev-dependencies.nexo-plugin-manifest]
version = "0.1.8"
[dev-dependencies.serial_test]
version = "3"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[lints.clippy]
absurd_extreme_comparisons = "allow"
doc_lazy_continuation = "allow"
doc_overindented_list_items = "allow"
incompatible_msrv = "allow"
manual_pattern_char_comparison = "allow"
needless_borrow = "allow"
needless_borrows_for_generic_args = "allow"
needless_return = "allow"
ptr_arg = "allow"
[profile.release]
opt-level = 3
lto = "thin"
strip = "symbols"
[profile.release-fast]
lto = false
codegen-units = 16
inherits = "release"
strip = "none"