[dependencies.bitflags]
version = "~2.9"
[dependencies.chrono]
version = "~0.4"
[dependencies.crossbeam-deque]
version = "~0.8"
[dependencies.rand]
version = "~0.9"
[dev-dependencies.tokio]
features = ["full"]
version = "~1"
[dev-dependencies.tokio-test]
version = "0.4"
[[example]]
name = "consumer_async"
path = "examples/consumer_async/consumer_async.rs"
[[example]]
name = "consumer_sync"
path = "examples/consumer_sync/consumer_sync.rs"
[[example]]
name = "periodic_task_sync"
path = "examples/periodic_task_sync/periodic_task_sync.rs"
[[example]]
name = "tickets_sync"
path = "examples/tickets_sync/tickets_sync.rs"
[[example]]
name = "timer_usage"
path = "examples/timer_usage/timer_usage.rs"
[features]
bsd_use_poll = []
bsd_use_timerfd = []
default = []
enable_mio_compat = ["dep:mio"]
[lib]
name = "timer_deque_rs"
path = "src/lib.rs"
[package]
authors = ["Aleksandr Morozov <alex@nixd.org>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["date-and-time", "asynchronous"]
description = "A OS based timer and timer queue which implements timeout queues of different types."
edition = "2024"
keywords = ["timer", "scheduling", "alarm", "async"]
license = "MIT OR MPL-2.0 OR EUPL-1.2"
name = "timer-deque-rs"
readme = "README.md"
repository = "https://codeberg.org/4neko/timer-deque-rs"
version = "0.8.0"
[target.'cfg(target_os = "freebsd")'.dependencies.crossbeam-utils]
version = "~0.8"
[target.'cfg(target_os = "freebsd")'.dependencies.instance-copy-on-write]
version = "~0.7"
[target."cfg(unix)".dependencies.mio]
default-features = false
features = ["os-ext"]
optional = true
version = "~1.1"
[target."cfg(unix)".dependencies.nix]
features = ["poll", "time", "fs", "event", "ioctl"]
version = "~0.30"
[target."cfg(windows)".dependencies.crossbeam-utils]
version = "~0.8"
[target."cfg(windows)".dependencies.nt-time]
version = "~0.12"
[target."cfg(windows)".dependencies.windows]
features = ["Win32_Security", "Win32_System_Threading", "Win32_System_IO"]
version = "~0.62"