minitimer 0.1.7

A mini timer of delayed tasks. Only asynchronous tasks are possible on tokio runtime, and dynamic add/cancel/remove is supported.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "minitimer"
version = "0.1.7"
authors = ["Curricane <curricane@163.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A mini timer of delayed tasks. Only asynchronous tasks are possible on tokio runtime, and dynamic add/cancel/remove is supported."
documentation = "https://docs.rs/minitimer"
readme = "README.md"
keywords = [
    "scheduler",
    "timer",
    "delay",
    "tokio",
]
categories = [
    "development-tools",
    "data-structures",
    "asynchronous",
    "data-structures",
    "accessibility",
]
license = "Apache-2.0"
repository = "https://github.com/Curricane/minitimer"

[lib]
name = "minitimer"
path = "src/lib.rs"

[[example]]
name = "advance_task"
path = "examples/advance_task.rs"

[[example]]
name = "concurrency_control"
path = "examples/concurrency_control.rs"

[[example]]
name = "countdown_task"
path = "examples/countdown_task.rs"

[[example]]
name = "once_delayed_task"
path = "examples/once_delayed_task.rs"

[[example]]
name = "repeated_task"
path = "examples/repeated_task.rs"

[[example]]
name = "task_management"
path = "examples/task_management.rs"

[[test]]
name = "advance_task"
path = "tests/advance_task.rs"

[[test]]
name = "concurrency_boundary"
path = "tests/concurrency_boundary.rs"

[[test]]
name = "error_handling"
path = "tests/error_handling.rs"

[[test]]
name = "performance"
path = "tests/performance.rs"

[[test]]
name = "task_execution"
path = "tests/task_execution.rs"

[[test]]
name = "task_failure"
path = "tests/task_failure.rs"

[[test]]
name = "task_management"
path = "tests/task_management.rs"

[[test]]
name = "time_wheel_cascade"
path = "tests/time_wheel_cascade.rs"

[[test]]
name = "timer_lifecycle"
path = "tests/timer_lifecycle.rs"

[[test]]
name = "update_task"
path = "tests/update_task.rs"

[dependencies.async-channel]
version = "2.5.0"

[dependencies.async-trait]
version = "0.1.89"

[dependencies.dashmap]
version = "6.1.0"

[dependencies.log]
version = "0.4.29"

[dependencies.thiserror]
version = "2.0.17"

[dependencies.tokio]
version = "1.48.0"
features = [
    "rt",
    "rt-multi-thread",
    "sync",
    "time",
    "macros",
]