Crates.io | fastimer |
lib.rs | fastimer |
version | |
source | src |
created_at | 2024-12-11 08:45:36.04783 |
updated_at | 2024-12-12 01:50:04.920169 |
description | This crate implements runtime-agnostic driver for async timers and scheduled tasks. |
homepage | https://github.com/fast/fastimer |
repository | https://github.com/fast/fastimer |
max_upload_size | |
id | 1479771 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, 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 |
Fastimer implements runtime-agnostic driver for async timers and scheduled tasks.
Fastimer provides SimpleAction
and ArbitraryDelayAction
that can be scheduled as a repeating and cancellable action.
Timeout
is a future combinator that completes when the inner future completes or when the timeout expires.
TimeDriver
is a runtime-agnostic time driver for creating delay futures. To use the time driver, you need to enable the driver feature flag.
Add the dependency to your Cargo.toml
via:
cargo add fastimer
Read the online documents at https://docs.rs/fastimer.
This project is licensed under Apache License, Version 2.0.