Skip to content
This repository was archived by the owner on Jun 6, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 10 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@
# limitations under the License.

[workspace]
members = ["fastimer", "fastimer-core", "fastimer-tokio", "xtask"]
members = [
"fastimer",
"fastimer-core",
"fastimer-timewheel",
"fastimer-tokio",
"xtask",
]
resolver = "2"

[workspace.package]
Expand All @@ -30,9 +36,12 @@ fastimer-core = { version = "0.1.0", path = "fastimer-core" }
fastimer-tokio = { version = "0.10.0", path = "fastimer-tokio" }

# Crates.io dependencies
atomic-waker = { version = "1.1.2" }
clap = { version = "4.5.20", features = ["derive"] }
crossbeam-queue = { version = "0.3.12" }
log = { version = "0.4.28" }
logforth = { version = "0.28.1" }
parking = { version = "2.2.1" }
pin-project = { version = "1.1.10" }
tokio = { version = "1.47.1" }
which = { version = "8.0.0" }
Expand Down
2 changes: 1 addition & 1 deletion fastimer-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

## Overview

This crate provides core APIs.
This crate provides core APIs for fastimer.

## Documentation

Expand Down
38 changes: 38 additions & 0 deletions fastimer-timewheel/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Copyright 2024 FastLabs Developers
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

[package]
name = "fastimer-timewheel"
version = "0.1.0"

description = "Timewheel based implementation for fastimer"
readme = "README.md"

edition.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true

[dependencies]
atomic-waker = { workspace = true }
crossbeam-queue = { workspace = true }
fastimer-core = { workspace = true }
parking = { workspace = true }

[dev-dependencies]
tokio = { workspace = true, features = ["full"] }

[lints]
workspace = true
29 changes: 29 additions & 0 deletions fastimer-timewheel/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Fastimer Timewheel Implementation

[![Crates.io][crates-badge]][crates-url]
[![Documentation][docs-badge]][docs-url]
[![MSRV 1.85][msrv-badge]](https://www.whatrustisit.com)

[crates-badge]: https://img.shields.io/crates/v/fastimer-timewheel.svg
[crates-url]: https://crates.io/crates/fastimer-timewheel
[docs-badge]: https://docs.rs/fastimer-timewheel/badge.svg
[msrv-badge]: https://img.shields.io/badge/MSRV-1.85-green?logo=rust
[docs-url]: https://docs.rs/fastimer-timewheel

## Overview

This crate provides timewheel based driver implementation.

## Documentation

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

## Minimum Supported Rust Version (MSRV)

This crate is built against the latest stable release, and its minimum supported rustc version is 1.85.0.

The policy is that the minimum Rust version required to use this crate can be increased in minor version updates. For example, if Fastimer 1.0 requires Rust 1.20.0, then Fastimer 1.0.z for all values of z will also require Rust 1.20.0 or newer. However, Fastimer 1.y for y > 0 may require a newer minimum version of Rust.

## License

This project is licensed under [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0).
Loading