[package]
edition = "2024"
name = "wbase"
version = "0.1.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cacheline-safe storage primitives: 48-bit log addressing, sector alignment, backoff, varint / 缓存行安全存储原语:48 位日志寻址、扇区对齐、退避、变长整型"
homepage = "https://github.com/webc-site/wedb/tree/main/wbase"
readme = "README.md"
keywords = [
"storage",
"primitives",
"alignment",
"varint",
"backoff",
]
categories = [
"algorithms",
"data-structures",
"concurrency",
"memory-management",
"database-implementations",
]
license = "MulanPSL-2.0"
repository = "https://github.com/webc-site/wedb.git"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
addr = []
align = []
ascii = []
backoff = []
base32 = []
buf = []
convert = [
"ascii",
"num",
]
crc = ["dep:crc32fast"]
crc64 = []
default = []
error = ["dep:thiserror"]
float = []
glob = []
hash = []
hash_slot = []
map = [
"dep:papaya",
"dep:gxhash",
]
num = []
pool = [
"align",
"thread",
"error",
"dep:parking_lot",
"dep:compio-buf",
]
set = ["map"]
simd = []
striped = [
"dep:parking_lot",
"align",
]
thread = []
time = ["dep:coarsetime"]
varint = []
[lib]
name = "wbase"
path = "src/lib.rs"
[[test]]
name = "main"
path = "tests/main.rs"
[dependencies.coarsetime]
version = "0.1.37"
optional = true
[dependencies.compio-buf]
version = "0.8.3"
optional = true
[dependencies.crc32fast]
version = "1.5.1"
optional = true
[dependencies.gxhash]
version = "3.5.0"
optional = true
[dependencies.papaya]
version = "0.2.5"
optional = true
[dependencies.parking_lot]
version = "0.12.5"
optional = true
[dependencies.thiserror]
version = "2.0.20"
optional = true
[dev-dependencies.aok]
version = "0.1.18"
[dev-dependencies.ctor]
version = "1.0.13"
[dev-dependencies.log]
version = "0.4.34"
[dev-dependencies.log_init]
version = "0.1.39"
[lints.clippy]
arc_with_non_send_sync = "allow"