[package]
edition = "2024"
name = "kvid"
version = "0.1.7"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Distributed ID generator with dual-segment preloading and lock-free fast path / 双号段预加载、无锁快速路径的分布式 ID 生成器"
homepage = "https://github.com/webc-site/npm/tree/main/kvid"
readme = "README.md"
keywords = [
"id-generator",
"distributed",
"redis",
"lock-free",
"segment",
]
categories = [
"data-structures",
"concurrency",
"algorithms",
"development-tools",
"no-std",
]
license = "MulanPSL-2.0"
repository = "https://github.com/webc-site/npm.git"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = []
[lib]
name = "kvid"
path = "src/lib.rs"
[[test]]
name = "main"
path = "tests/main.rs"
[dependencies.fred]
version = "10.1.0"
[dependencies.hipstr]
version = "0.8"
[dependencies.parking_lot]
version = "0.12.5"
[dependencies.static_init]
version = "1.0.4"
features = ["parking_lot"]
[dependencies.thiserror]
version = "2.0.18"
[dependencies.tokio]
version = "1.52.3"
features = ["sync"]
[dependencies.ts_]
version = "0.1.4"
features = ["sec"]
[dependencies.xboot]
version = "0.1.39"
[dependencies.xkv]
version = "0.1.55"
features = ["r"]
[dev-dependencies.aok]
version = "0.1.18"
[dev-dependencies.log]
version = "0.4.32"
[dev-dependencies.log_init]
version = "0.1.38"
[dev-dependencies.static_init]
version = "1.0.4"
features = ["parking_lot"]
[dev-dependencies.tokio]
version = "1.52.3"
features = [
"macros",
"rt",
"rt-multi-thread",
"time",
"sync",
]