2 releases
0.1.1 | Feb 8, 2019 |
---|---|
0.1.0 | Feb 8, 2019 |
#42 in #country
6KB
152 lines
Translate is the first VPN checking crate in rust
Requirements:
- An internet connection
- OpenSSL
Warning:
- This crate use reqwest
Functionnalities:
- Check if an ip is a VPN
- Get the country of an ip
Examples:
use no_vpn::*;
check_vpn("IP",|result| {
let result = result.unwrap();
println!("VPN: {}, Country: {}",result.is_vpn(),result.get_country());
})
Specials thank's to besuper who has autorized me to convert the popular NoVPN minecraft plugin written in java to a Rust API https://www.spigotmc.org/resources/novpn-antibot-bungeecord-support-mcleaks.36511/ If you want to buy the minecraft plugin
Dependencies
~25MB
~501K SLoC