fastimer

Crates.iofastimer
lib.rsfastimer
version
sourcesrc
created_at2024-12-11 08:45:36.04783
updated_at2024-12-12 01:50:04.920169
descriptionThis crate implements runtime-agnostic driver for async timers and scheduled tasks.
homepagehttps://github.com/fast/fastimer
repositoryhttps://github.com/fast/fastimer
max_upload_size
id1479771
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`
size0
tison (tisonkun)

documentation

README

Fastimer

Crates.io Documentation MSRV 1.83 Apache 2.0 licensed Build Status

Overview

Fastimer implements runtime-agnostic driver for async timers and scheduled tasks.

Scheduled Actions

Fastimer provides SimpleAction and ArbitraryDelayAction that can be scheduled as a repeating and cancellable action.

Timeout

Timeout is a future combinator that completes when the inner future completes or when the timeout expires.

Time Driver

TimeDriver is a runtime-agnostic time driver for creating delay futures. To use the time driver, you need to enable the driver feature flag.

Installation

Add the dependency to your Cargo.toml via:

cargo add fastimer

Documentation

Read the online documents at https://docs.rs/fastimer.

License

This project is licensed under Apache License, Version 2.0.

Commit count: 19

cargo fmt