captchaforge 0.2.33

Automatic CAPTCHA detection and multi-strategy solving for chromiumoxide-driven headless browsers (Cloudflare Turnstile, reCAPTCHA v2/v3, hCaptcha, image grids, audio, sliders).
Documentation
[package]
name = "captchaforge"
version = "0.2.33"
edition = "2021"
rust-version = "1.85"
license = "MIT OR Apache-2.0"
authors = ["Santh Project <contact@santh.dev>"]
description = "Automatic CAPTCHA detection and multi-strategy solving for chromiumoxide-driven headless browsers (Cloudflare Turnstile, reCAPTCHA v2/v3, hCaptcha, image grids, audio, sliders)."
repository = "https://github.com/santhsecurity/captchaforge"
readme = "README.md"
keywords = ["captcha", "headless-browser", "chromiumoxide", "turnstile", "recaptcha"]
categories = ["web-programming", "authentication"]

[dependencies]
chromiumoxide = { version = "0.9", default-features = true }
anyhow = "1"
async-trait = "0.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"

[lints.rust]
unsafe_code = "forbid"

# Declare this crate as its own workspace root so it doesn't get
# pulled into the parent Santh workspace at /media/.../SanthData/Santh.
# Once captchaforge moves to its own GitHub repo this section is
# unnecessary, but keeps the in-tree extraction self-contained today.
[dev-dependencies]
futures-util = "0.3"
which = "7"
proptest = "1.5"
insta = { version = "1.41", features = ["json", "redactions"] }
scraper = "0.20"
criterion = { version = "0.5", features = ["html_reports"] }

[[bench]]
name = "hot_path"
harness = false

[workspace]
members = ["bench", "cli", "challenge", "rules-crate"]
# Bindings live outside the default workspace so their distinct
# toolchain quirks (pyo3's PYO3_PYTHON env, napi's build.rs,
# wasm-pack target) don't pollute the main `cargo build --workspace`.
exclude = ["bindings/python", "bindings/node", "bindings/wasm"]

# cargo-binstall metadata: lets `cargo binstall captchaforge` pull
# the pre-built binary from the GitHub Release matching the version
# in this Cargo.toml. See .github/workflows/release.yml for the
# producer side.
[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"