clocksync 0.2.0

Fault-tolerant clock synchronization using Marzullo's algorithm with NULID nanosecond timestamps
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"
rust-version = "1.88"
name = "clocksync"
version = "0.2.0"
authors = ["kakilangit <crates@kakilangit.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fault-tolerant clock synchronization using Marzullo's algorithm with NULID nanosecond timestamps"
homepage = "https://github.com/kakilangit/clocksync"
readme = "README.md"
keywords = [
    "clock",
    "synchronization",
    "marzullo",
    "nulid",
    "consensus",
]
categories = [
    "date-and-time",
    "algorithms",
]
license = "MIT"
repository = "https://github.com/kakilangit/clocksync"

[features]
default = []
wasm = ["nulid/wasm"]

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

[dependencies.nulid]
version = "0.10"
features = ["std"]
default-features = false

[dependencies.rand]
version = "0.9"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
]

[lints.clippy]
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
expect_used = "deny"
panic = "deny"
unwrap_used = "deny"

[lints.clippy.pedantic]
level = "warn"
priority = -1