mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-28 12:10:37 +00:00

This patch adds a new crate: tokio-timer. This crate provides an efficient timer implemeentation designed for use in Tokio based applications. The timer users a hierarchical hashed timer wheel algorithm with six levels, each having 64 slots. This allows the timer to have a resolution of 1ms while maintaining O(1) complexity for insert, removal, and firing of timeouts. There already exists a tokio-timer crate. This is a complete rewrite which solves the outstanding problems with the existing tokio-timer library. Closes #146.
20 lines
472 B
TOML
20 lines
472 B
TOML
[package]
|
|
name = "tokio-timer"
|
|
version = "0.2.0"
|
|
authors = ["Carl Lerche <me@carllerche.com>"]
|
|
license = "MIT"
|
|
readme = "README.md"
|
|
repository = "https://github.com/tokio-rs/tokio-timer"
|
|
homepage = "https://github.com/tokio-rs/tokio-timer"
|
|
documentation = "https://docs.rs/tokio-timer"
|
|
description = """
|
|
Timer facilities for Tokio
|
|
"""
|
|
|
|
[dependencies]
|
|
futures = "0.1.19"
|
|
tokio-executor = { version = "0.1.1", path = "../tokio-executor" }
|
|
|
|
[dev-dependencies]
|
|
rand = "0.4.2"
|