Files
turso/core/Cargo.toml
Pekka Enberg 351242561d Kill anyhow usage
Switch anyhow to explicit `LimboError` type using thiserror crate, which
lets us make error handling more structured.
2024-07-25 17:15:08 +03:00

60 lines
1.3 KiB
TOML

# Copyright 2023 the Limbo authors. All rights reserved. MIT license.
[package]
name = "limbo_core"
version.workspace = true
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(target_os = "macos")'.dependencies]
polling = "3.7.2"
rustix = "0.38.34"
[target.'cfg(not(target_family = "wasm"))'.dependencies]
mimalloc = { version = "*", default-features = false }
[dependencies]
cfg_block = "0.1.1"
fallible-iterator = "0.3.0"
libc = "0.2.155"
log = "0.4.20"
nix = { version = "0.29.0", features = ["fs"] }
sieve-cache = "0.1.4"
sqlite3-parser = "0.13.0"
thiserror = "1.0.61"
getrandom = { version = "0.2.15", features = ["js"] }
regex = "1.10.5"
chrono = "0.4.38"
julian_day_converter = "0.3.2"
[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"
tempfile = "3.8.0"
[[bench]]
name = "benchmark"
harness = false