[package]
edition = "2024"
rust-version = "1.88"
name = "cordis-timer"
version = "0.3.6"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Generation-owned sleep, interval, and timeout operations for Cordis v3"
readme = "README.md"
keywords = [
"cordis",
"timer",
"async",
"lifecycle",
]
categories = [
"asynchronous",
"rust-patterns",
]
license = "MIT"
repository = "https://github.com/dshbox/cordis-rs"
[lib]
name = "cordis_timer"
path = "src/lib.rs"
[[test]]
name = "error_family_ui"
path = "tests/error_family_ui.rs"
[[test]]
name = "facade_ui"
path = "tests/facade_ui.rs"
[[test]]
name = "generation_ownership"
path = "tests/generation_ownership.rs"
[[test]]
name = "sleep_interval"
path = "tests/sleep_interval.rs"
[[test]]
name = "sleep_registration"
path = "tests/sleep_registration.rs"
[[test]]
name = "timeout"
path = "tests/timeout.rs"
[[test]]
name = "timer_ui"
path = "tests/timer_ui.rs"
[dependencies.cordis-core]
version = "0.3.6"
features = ["internal-api"]
[dependencies.futures]
version = "0.3"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt",
"rt-multi-thread",
"sync",
"macros",
"time",
]
default-features = false
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.parking_lot]
version = "0.12"
[dev-dependencies.tokio]
version = "1"
features = [
"rt",
"rt-multi-thread",
"sync",
"macros",
"test-util",
]
default-features = false
[dev-dependencies.trybuild]
version = "1"
[lints.clippy.dbg_macro]
level = "deny"
priority = 0
[lints.clippy.todo]
level = "deny"
priority = 0
[lints.rust.missing_docs]
level = "warn"
priority = 0