Skip to content

Vineet817/LassDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ¦€ LassDB

LassDB is a minimal, embeddable, and WebAssembly-compatible structured key-value database written in Rust.

⚑ Safe. πŸš€ Fast. 🌍 WASM-ready. 🧠 Schema-aware. πŸ” Queryable.


✨ Features

  • βœ… In-memory & file-backed key-value store (via sled)
  • βœ… Stores structured Rust structs with schema evolution
  • βœ… Supports versioned types (UserV1, UserV2, ...)
  • βœ… Built-in backward migration and runtime schema introspection
  • βœ… WASM-compatible design (via wasm-bindgen)
  • βœ… Command-line interface for local interaction
  • βœ… Basic SQL-like Tiny Query Language (TQL) for SELECT queries
  • βœ… Error handling (via anyhow) and logging (via tracing)
  • βœ… Built for learning, edge computing, and low-footprint environments

πŸ›  Getting Started

# Clone the repo
git clone https://github.com/yourname/lassdb
cd lassdb

# Run CLI
cargo run --example cli

πŸ§ͺ WASM (WebAssembly) Usage

LassDB is WebAssembly-compatible and can be compiled for use in the browser or other WASM runtimes using wasm-bindgen.

πŸ”§ Building for WASM

To compile LassDB for WebAssembly:

wasm-pack build --target web

About

πŸ¦€ A fast, embeddable, and WebAssembly-compatible key-value database written in Rust.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages