wallclock-timer 0.1.0

Wall-clock-based timer utility.
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 = "wallclock-timer"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Wall-clock-based timer utility."
homepage = "https://github.com/Bathtor/rust-wallclock-timer"
documentation = "https://docs.rs/wallclock-timer"
readme = "README.md"
keywords = [
    "timer",
    "timeout",
]
categories = ["date-and-time"]
license = "MIT"
repository = "https://github.com/Bathtor/rust-wallclock-timer"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
chrono = ["dep:chrono"]
default = ["uuid"]
uuid = ["dep:uuid"]

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

[dependencies.chrono]
version = "0.4"
features = ["clock"]
optional = true
default-features = false

[dependencies.crossbeam-channel]
version = "0.5"

[dependencies.log]
version = "0.4"

[dependencies.rustc-hash]
version = "2"

[dependencies.snafu]
version = "0.8"

[dependencies.uuid]
version = "1"
features = ["v4"]
optional = true

[dev-dependencies.simple_logger]
version = "5"