[package]
name = "captchaforge"
version = "0.2.39"
edition = "2021"
rust-version = "1.85"
license = "MIT OR Apache-2.0"
authors = ["Santh Project <contact@santh.dev>"]
description = "Captcha detection and solving for Firefox and BiDi-driven browsers. Detection, vendor solver scaffolding, trusted cross-origin click delivery into nested OOPIFs, and stealth personas are implemented and tested; broad live-vendor solve rates are not yet benchmarked."
repository = "https://github.com/santhreal/captchaforge"
readme = "README.md"
keywords = ["captcha", "headless-browser", "turnstile", "recaptcha"]
categories = ["web-programming", "authentication"]
[dependencies]
anyhow = "1"
async-trait = "0.1"
guise = { path = "../../libs/runtime/guise", version = "0.1.2", default-features = false, features = ["browser", "http-headers", "human", "rotation"] }
runtime-foxdriver = { path = "../../libs/runtime/foxdriver", version = "0.1.0" }
erroracle = { path = "../../libs/scanner/erroracle", version = "0.2.1" }
rustenium = "1.1.10"
rustenium-core = "1.1.1"
rustenium-bidi-definitions = "0.1.1"
scanclient = { path = "../../libs/scanner/scanclient", version = "0.2.1" }
base64 = "0.22"
rand = "0.8"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tokio = { version = "1", features = ["full"] }
tracing = "0.1"
reqwest = { version = "0.12", default-features = false, features = ["json", "multipart", "rustls-tls"] }
toml = "0.8"
url = "2"
futures-util = "0.3"
bytes = "1"
tempfile = "3"
sha2 = "0.10"
thiserror = "1"
dirs = "6"
ort = { version = "2.0.0-rc.12", optional = true, features = ["cuda", "tensorrt"] }
image = { version = "0.25", optional = true }
ndarray = { version = "0.16", optional = true }
[lints.rust]
unsafe_code = "forbid"
[features]
default = []
tls-impersonate = ["guise/tls-impersonate"]
vision = ["dep:ort", "dep:image", "dep:ndarray"]
[dev-dependencies]
proptest = "1.5"
insta = { version = "1.41", features = ["json", "redactions"] }
scraper = "0.20"
criterion = { version = "0.5", features = ["html_reports"] }
which = "7"
[[bench]]
name = "hot_path"
harness = false
[workspace]
members = ["bench", "cli", "challenge", "rules-crate"]
exclude = ["bindings/python", "bindings/node", "bindings/wasm"]
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/captchaforge-v{ version }-{ target }.{ archive-format }"
bin-dir = "captchaforge-v{ version }-{ target }/{ bin }{ binary-ext }"
[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-fmt = "zip"