recaptcha-service 0.3.0

A simplified and centralised interface for verifying reCAPTCHA tokens.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use actix_web::{App, HttpServer};
use routes::*;

mod routes;

#[actix_web::main]
async fn main() -> std::io::Result<()> {
    env_logger::init();

    HttpServer::new(move || App::new().service(v1::service()))
        .workers(num_cpus::get())
        .bind(("0.0.0.0", 80))?
        .run()
        .await
}