captcha-sdk 0.0.1

Unified server-side CAPTCHA verification for Rust
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[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"