wataxrate

Crates.iowataxrate
lib.rswataxrate
version1.0.4
sourcesrc
created_at2020-04-16 23:21:48.495192
updated_at2020-04-17 21:51:02.552506
descriptionTool for getting tax information for addresses in WA State.
homepage
repositoryhttps://github.com/gorup/wataxrate
max_upload_size
id230998
size41,073
RSESS maintainers (github:kit-cel:rsess-maintainers)

documentation

README

Get some tax info for WA state

Simple lib for getting tax data for addrs in WA State.

First goal is to be simple, with reasonable defaults.

Example

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),
}

Gotchas

  • Requires tokio!!
Commit count: 6

cargo fmt