Files
turso/core/mvcc/database/Cargo.toml
Piotr Sarna 488201cab2 add c_bindings feature for exposing functions to C
The library can now be compiled to a static or dynamic
native lib, with very basic functionality exposed.
2023-05-08 14:20:34 +02:00

41 lines
1.0 KiB
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 }
tokio-stream = { version = "0.1.12", optional = true, features = ["io-util"] }
serde = { version = "1.0.160", features = ["derive"] }
serde_json = "1.0.96"
pin-project = "1.0.12"
tracing-subscriber = { version = "0", optional = true }
base64 = "0.21.0"
[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"] }
[lib]
crate-type = ["rlib", "cdylib", "staticlib"]
[[bench]]
name = "my_benchmark"
harness = false
[features]
default = []
full = ["tokio"]
c_bindings = ["tokio", "dep:tracing-subscriber"]
tokio = ["dep:tokio", "dep:tokio-stream"]