Crates.io | ticker |
lib.rs | ticker |
version | |
source | src |
created_at | 2017-07-01 19:45:24.827516 |
updated_at | 2017-07-01 19:47:07.399014 |
description | Rate limited Iterators. |
homepage | https://github.com/turnage/ticker |
repository | https://github.com/turnage/ticker |
max_upload_size | |
id | 21487 |
Cargo.toml error: | TOML parse error at line 7, column 1 | 7 | docs = "https://docs.rs/ticker" | ^^^^ unknown field `docs`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
Rate limited Iterators!
Print 0-9, one number per second:
let ticker = Ticker::new((0..10), Duration::from_secs(1));
for i in ticker {
println!("{:?}", i)
}