[package]
name = "captcha-sdk"
version = "0.0.1"
edition = "2024"
rust-version = "1.88"
description = "Unified server-side CAPTCHA verification for Rust"
license = "MIT"
readme = "README.md"
keywords = ["captcha", "turnstile", "hcaptcha", "recaptcha", "verification"]
categories = ["web-programming", "api-bindings", "authentication"]
repository = "https://github.com/salasebas/captcha-sdk"
documentation = "https://docs.rs/captcha-sdk"
[features]
default = []
turnstile = []
hcaptcha = []
recaptcha = []
friendlycaptcha = []
captchafox = []
mtcaptcha = []
procaptcha = []
prosopo = ["procaptcha"]
altcha = []
all-providers = [
"turnstile",
"hcaptcha",
"recaptcha",
"friendlycaptcha",
"captchafox",
"mtcaptcha",
"procaptcha",
"altcha",
]
[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "2.0"
time = { version = "0.3.47", features = ["serde"] }
zeroize = "1.8"
[dev-dependencies]
static_assertions = "1.1"
[lints.rust]
unsafe_code = "forbid"
[lints.clippy]
all = "warn"
pedantic = "warn"