[package]
edition = "2024"
name = "ferridriver"
version = "0.4.0"
authors = ["Salama Ashoush <salamaashoush@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Browser automation in Rust with a Playwright-compatible API. Four pluggable backends: CDP pipe, CDP WebSocket, Playwright WebKit, Firefox BiDi."
homepage = "https://github.com/salamaashoush/ferridriver"
readme = "README.md"
keywords = [
"browser",
"automation",
"playwright",
"cdp",
"testing",
]
categories = [
"development-tools::testing",
"web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/salamaashoush/ferridriver"
resolver = "2"
[lib]
name = "ferridriver"
path = "src/lib.rs"
[[test]]
name = "connect_select"
path = "tests/connect_select.rs"
[[test]]
name = "http_client_net_guard"
path = "tests/http_client_net_guard.rs"
[[test]]
name = "http_client_redirects"
path = "tests/http_client_redirects.rs"
[[test]]
name = "page_api"
path = "tests/page_api.rs"
[[test]]
name = "parallel"
path = "tests/parallel.rs"
[[test]]
name = "webkit_smoke"
path = "tests/webkit_smoke.rs"
[[bench]]
name = "alloc_bench"
path = "benches/alloc_bench.rs"
harness = false
[dependencies.arc-swap]
version = "1"
[dependencies.async-trait]
version = "0.1"
[dependencies.base64]
version = "0.22"
[dependencies.bytes]
version = "1"
[dependencies.bzip2]
version = "0.6"
[dependencies.dashmap]
version = "6"
[dependencies.dirs]
version = "6"
[dependencies.futures]
version = "0.3"
[dependencies.libc]
version = "0.2"
[dependencies.memchr]
version = "2"
[dependencies.parking_lot]
version = "0.12"
[dependencies.regex]
version = "1"
[dependencies.reqwest]
version = "0.13"
features = [
"json",
"multipart",
"cookies",
"rustls",
"stream",
"query",
"form",
]
default-features = false
[dependencies.rustc-hash]
version = "2"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.tar]
version = "0.4"
[dependencies.tempfile]
version = "3"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tokio-stream]
version = "0.1"
[dependencies.tokio-tungstenite]
version = "0.29"
[dependencies.tracing]
version = "0.1"
[dependencies.xz2]
version = "0.1"
[dependencies.zip]
version = "8"
features = ["deflate"]
default-features = false
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[target."cfg(windows)".dependencies.windows-sys]
version = "0.61"
features = [
"Win32_Foundation",
"Win32_Security",
"Win32_Storage_FileSystem",
"Win32_System_Pipes",
]
[lints.clippy]
dbg_macro = "warn"
expect_used = "warn"
todo = "warn"
unwrap_used = "warn"
[lints.clippy.complexity]
level = "warn"
priority = -1
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.perf]
level = "deny"
priority = -1
[lints.clippy.style]
level = "warn"
priority = -1
[lints.clippy.suspicious]
level = "deny"
priority = -1
[lints.rust]
rust_2018_idioms = "warn"
unsafe_code = "warn"