-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathCargo.toml
More file actions
49 lines (42 loc) · 1.66 KB
/
Cargo.toml
File metadata and controls
49 lines (42 loc) · 1.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[package]
name = "hierarchical_hash_wheel_timer"
version = "1.3.0"
authors = ["Lars Kroll <bathtor@googlemail.com>"]
edition = "2021"
description = "A low-level timer implementantion using a hierarchical four-level hash wheel with overflow."
documentation = "https://docs.rs/hierarchical_hash_wheel_timer"
homepage = "https://github.com/Bathtor/rust-hash-wheel-timer"
repository = "https://github.com/Bathtor/rust-hash-wheel-timer"
readme = "README.md"
keywords = ["timer", "timeout"]
categories = ["data-structures", "simulation"]
license = "MIT"
[features]
default = ["uuid-extras", "fx-hash", "thread-timer"]
uuid-extras = ["uuid"]
thread-timer = ["crossbeam-channel"]
# The following three features are mutually exclusive and you have to pick exactly one of them!
# Use Rust's default Sip Hasher for cancellable timers
sip-hash = []
# Use the fnv crate to supply the Hasher for cancellable timers
fnv-hash = ["fnv"]
# Use the rustc-hash crate to supply the FxHasher for cancellable timers
fx-hash = ["rustc-hash"]
[dependencies]
uuid = { version = "1.3", features = ["v4"], optional = true }
fnv = { version = "1.0", optional = true }
rustc-hash = { version = "2", optional = true }
crossbeam-channel = { version = "0.5", optional = true }
[badges]
# Maintenance: `status` is required Available options are `actively-developed`,
# `passively-maintained`, `as-is`, `none`, `experimental`, `looking-for-maintainer`
# and `deprecated`.
maintenance = { status = "passively-maintained" }
github-actions = { repository = "Bathtor/rust-hash-wheel-timer", workflow = "ci.yml" }
[dev-dependencies]
criterion = "0.5"
rand = "0.8"
rand_xoshiro = "0.6"
[[bench]]
name = "wheel_benchmark"
harness = false