[package]
edition = "2024"
name = "wtxn"
version = "0.1.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Transaction manager, key lock table, and watched keys tracking for wedb"
homepage = "https://github.com/webc-site/wedb/tree/main/wtxn"
readme = false
keywords = [
"transactions",
"concurrency",
"optimistic-locking",
"watch",
"locking",
]
license = "MulanPSL-2.0"
repository = "https://github.com/webc-site/wedb.git"
[lib]
name = "wtxn"
path = "src/lib.rs"
[[test]]
name = "runtxp_slot_verify"
path = "tests/runtxp_slot_verify.rs"
[[test]]
name = "txn_key_entries"
path = "tests/txn_key_entries.rs"
[[test]]
name = "txn_key_manager"
path = "tests/txn_key_manager.rs"
[[test]]
name = "txn_lock_stress"
path = "tests/txn_lock_stress.rs"
[[test]]
name = "txn_lock_table"
path = "tests/txn_lock_table.rs"
[[test]]
name = "txn_lock_table_instance"
path = "tests/txn_lock_table_instance.rs"
[[test]]
name = "txn_watched_keys"
path = "tests/txn_watched_keys.rs"
[dependencies.bitflags]
version = "2.13.2"
[dependencies.coarsetime]
version = "0.1.37"
[dependencies.itoa]
version = "1.0.18"
[dependencies.log]
version = "0.4.34"
[dependencies.parking_lot]
version = "0.12.5"
[dependencies.smallvec]
version = "1.16.1"
[dependencies.waof]
version = "0.1.6"
[dependencies.wbase]
version = "0.1.9"
features = [
"store_type",
"striped",
"time",
]
[dependencies.whasher]
version = "0.1.9"
[dependencies.windex]
version = "0.1.5"
[dev-dependencies.wtxn_test]
version = "0.1.0"
[lints.clippy]
arc_with_non_send_sync = "allow"