rocket-recaptcha-v3 0.1.0

This crate can help you use reCAPTCHA v3 in your Rocket web application.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#[derive(Debug, Clone)]
/// Errors of the `ReCaptcha` struct.
pub enum ReCaptchaError {
    /// The secret key is invalid.
    InvalidInputSecret,
    /// The reCAPTCHA token is invalid.
    InvalidReCaptchaToken,
    /// The reCAPTCHA token is no longer valid.
    TimeoutOrDuplicate,
    /// Errors caused by internal malfunctions.
    InternalError(String),
}