Crates.io | wataxrate |
lib.rs | wataxrate |
version | 1.0.4 |
source | src |
created_at | 2020-04-16 23:21:48.495192 |
updated_at | 2020-04-17 21:51:02.552506 |
description | Tool for getting tax information for addresses in WA State. |
homepage | |
repository | https://github.com/gorup/wataxrate |
max_upload_size | |
id | 230998 |
size | 41,073 |
Simple lib for getting tax data for addrs in WA State.
First goal is to be simple, with reasonable defaults.
See the example program
cargo run --example get
This is what it looks like in code
// .. in an async environment..
match wataxrate::get("400 Broad St", "Seattle", "98109").await {
Ok(taxinfo) => println!("Tax rate is {}", taxinfo.rate).
Err(e) => eprintln!("Error getting tax info: {:?}", e),
}
tokio
!!