mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-26 20:44:23 +01:00
Use Rc instead of Arc and replace the concurrent LRU with single-threaded SIEVE. Fixes #23 Fixes #29
45 lines
999 B
TOML
45 lines
999 B
TOML
# Copyright 2023 the Limbo authors. All rights reserved. MIT license.
|
|
|
|
[package]
|
|
name = "limbo_core"
|
|
version = "0.0.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
description = "The Limbo database library"
|
|
|
|
[lib]
|
|
name = "limbo_core"
|
|
path = "lib.rs"
|
|
|
|
[features]
|
|
default = ["fs"]
|
|
fs = []
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
io-uring = "0.6.1"
|
|
|
|
[target.'cfg(not(target_family = "wasm"))'.dependencies]
|
|
mimalloc = { version = "*", default-features = false }
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.75"
|
|
cfg_block = "0.1.1"
|
|
fallible-iterator = "0.3.0"
|
|
log = "0.4.20"
|
|
sieve-cache = "0.1.4"
|
|
sqlite3-parser = "0.11.0"
|
|
|
|
[target.'cfg(not(target_family = "windows"))'.dev-dependencies]
|
|
pprof = { version = "0.12.1", features = ["criterion", "flamegraph"] }
|
|
|
|
[dev-dependencies]
|
|
criterion = { version = "0.5", features = ["html_reports", "async", "async_futures"] }
|
|
rstest = "0.18.2"
|
|
rusqlite = "0.29.0"
|
|
|
|
[[bench]]
|
|
name = "benchmark"
|
|
harness = false
|