gsblookup-rs
Rust interface to Google Safe Browsing Lookup API
Usage
Available on crates.io
Add this to your Cargo.toml
[]
= "0.6.0"
Example
Looking up a single URL.
let key: String = "AIzaSyCOZpyGR3gMKqrb5A9lGSsVKtr7".into;
let gsb = new;
let statuses = gsb.lookup.unwrap;
if statuses.is_empty else
See examples/ for more.
This library does not use any 'unsafe' blocks.
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.