# LiteStash (Rust)
[](https://crates.io/crates/litestash)
[](https://docs.rs/litestash)
[](https://github.com/nortosem/LiteStash)
**High-performance key-value store using SQLite static lock sharding.**
This is the native Rust client for the **LiteStash** database. It acts as a high-performance Host that drives the `litestash-engine` storage appliance via a strictly typed MessagePack protocol.
> **⚠️ Status: Pre-Alpha / Namespace Reservation**
> This crate is currently being architected. The API below is provisional.
## Architecture
LiteStash uses **Application-Side Static Lock Sharding**.
1. **The Client (Rust)** determines the routing topology (hashing keys to specific shard files).
2. **The Engine (Python/Native Binary)** manages the ACID persistence via SQLAlchemy/SQLite.
3. **The Bridge** communicates via Standard I/O using binary MessagePack frames.
## Installation
```bash
cargo add litestash
```