BREAKING CHANGE(core): replace the TypeScript database engine with a Rust-backed embedded server and bridge
This commit is contained in:
76
rust/Cargo.toml
Normal file
76
rust/Cargo.toml
Normal file
@@ -0,0 +1,76 @@
|
||||
[workspace]
|
||||
resolver = "2"
|
||||
members = [
|
||||
"crates/rustdb",
|
||||
"crates/rustdb-config",
|
||||
"crates/rustdb-wire",
|
||||
"crates/rustdb-query",
|
||||
"crates/rustdb-storage",
|
||||
"crates/rustdb-index",
|
||||
"crates/rustdb-txn",
|
||||
"crates/rustdb-commands",
|
||||
]
|
||||
|
||||
[workspace.package]
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
authors = ["Lossless GmbH <hello@lossless.com>"]
|
||||
|
||||
[workspace.dependencies]
|
||||
# Async runtime
|
||||
tokio = { version = "1", features = ["full"] }
|
||||
|
||||
# Serialization
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
|
||||
# BSON serialization (bson crate)
|
||||
bson = "2"
|
||||
|
||||
# Binary buffer manipulation
|
||||
bytes = "1"
|
||||
|
||||
# CLI
|
||||
clap = { version = "4", features = ["derive"] }
|
||||
|
||||
# Structured logging
|
||||
tracing = "0.1"
|
||||
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
||||
|
||||
# Error handling
|
||||
thiserror = "2"
|
||||
anyhow = "1"
|
||||
|
||||
# Lock-free atomics
|
||||
arc-swap = "1"
|
||||
|
||||
# Concurrent maps
|
||||
dashmap = "6"
|
||||
|
||||
# Cancellation / utility
|
||||
tokio-util = { version = "0.7", features = ["codec"] }
|
||||
|
||||
# mimalloc allocator
|
||||
mimalloc = "0.1"
|
||||
|
||||
# CRC32 checksums
|
||||
crc32fast = "1"
|
||||
|
||||
# Regex for $regex operator
|
||||
regex = "1"
|
||||
|
||||
# UUID for sessions
|
||||
uuid = { version = "1", features = ["v4", "serde"] }
|
||||
|
||||
# Async traits
|
||||
async-trait = "0.1"
|
||||
|
||||
# Internal crates
|
||||
rustdb-config = { path = "crates/rustdb-config" }
|
||||
rustdb-wire = { path = "crates/rustdb-wire" }
|
||||
rustdb-query = { path = "crates/rustdb-query" }
|
||||
rustdb-storage = { path = "crates/rustdb-storage" }
|
||||
rustdb-index = { path = "crates/rustdb-index" }
|
||||
rustdb-txn = { path = "crates/rustdb-txn" }
|
||||
rustdb-commands = { path = "crates/rustdb-commands" }
|
||||
Reference in New Issue
Block a user