tsoracle-core 0.2.4

Sync algorithm core for tsoracle: window allocator, 46/18-bit timestamp packing, monotonicity invariants, and the shared cluster peer type.
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 = "tsoracle-core"
version = "0.2.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sync algorithm core for tsoracle: window allocator, 46/18-bit timestamp packing, monotonicity invariants, and the shared cluster peer type."
homepage = "https://github.com/prisma-risk/tsoracle"
documentation = "https://docs.rs/tsoracle-core"
readme = "README.md"
keywords = [
    "timestamp",
    "oracle",
    "tso",
    "hlc",
    "algorithm",
]
categories = [
    "algorithms",
    "date-and-time",
    "concurrency",
]
license = "Apache-2.0"
repository = "https://github.com/prisma-risk/tsoracle"
resolver = "2"

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

[features]
bt = ["std"]
default = ["std"]
serde = ["dep:serde"]
std = []
test-clock = []

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

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

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.thiserror]
version = "2"

[dev-dependencies.husky-rs]
version = "0.3"

[dev-dependencies.proptest]
version = "1"