mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-23 09:54:26 +01:00
With AsyncMutex, we can use different mutex mechanisms in the database - e.g. tokio::sync::Mutex.
31 lines
699 B
TOML
31 lines
699 B
TOML
[package]
|
|
name = "mvcc-rs"
|
|
version = "0.0.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.70"
|
|
async-trait = "0.1.68"
|
|
futures = "0.3.28"
|
|
thiserror = "1.0.40"
|
|
tracing = "0.1.37"
|
|
tokio = { version = "1.27.0", features = ["full"], optional = true }
|
|
|
|
[dev-dependencies]
|
|
criterion = { version = "0.4", features = ["html_reports", "async", "async_futures"] }
|
|
pprof = { version = "0.11.1", features = ["criterion", "flamegraph"] }
|
|
shuttle = "0.6.0"
|
|
tokio = { version = "1.27.0", features = ["full"] }
|
|
tracing-subscriber = "0"
|
|
tracing-test = "0"
|
|
mvcc-rs = { path = ".", features = ["tokio"] }
|
|
|
|
[[bench]]
|
|
name = "my_benchmark"
|
|
harness = false
|
|
|
|
[features]
|
|
default = []
|
|
full = ["tokio"]
|
|
tokio = ["dep:tokio"]
|