mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-07 02:04:21 +01:00
This adds basic in-memory sorting utility functions, similar to SQLite's src/vdbesort.c. We need to improve this later with external sorting so to support large data sets. This also adds sorting functionality to the VDBE. Note that none of this is wired to SQL translation yet so it's unused for now.
46 lines
1.0 KiB
TOML
46 lines
1.0 KiB
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"
|
|
ordered-multimap = "0.7.1"
|
|
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
|