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