| Crates.io | haveibeenpwnd |
| lib.rs | haveibeenpwnd |
| version | 0.2.1 |
| created_at | 2016-08-29 02:47:02.746637+00 |
| updated_at | 2017-02-20 23:12:33.338499+00 |
| description | Provides a client for the Have I Been Pwnd API |
| homepage | |
| repository | https://github.com/insanitybit/haveibeenpwnd |
| max_upload_size | |
| id | 6166 |
| size | 15,555 |
A client for the Have I Been Pwned? API v2 for Rust
let client = Clientv2::new("test-rust-client");
let r = client.get_breaches_acct("test@example.com")
.send()
.unwrap();
let r = client.get_breaches()
.send()
.unwrap();
let r = client.get_data_classes().send().unwrap();
let r = client.get_pastes("test@example.com").send().unwrap();