Crates.io | sqlite-tiny |
lib.rs | sqlite-tiny |
version | 0.3.0 |
source | src |
created_at | 2024-02-19 00:11:41.299474 |
updated_at | 2024-06-17 23:22:23.289163 |
description | A minimalistic SQLite crate which ships the amalgamation variant and provides a tiny Rust API |
homepage | |
repository | https://github.com/KizzyCode/sqlite-tiny-rust |
max_upload_size | |
id | 1144543 |
size | 9,859,077 |
sqlite-tiny
Welcome to sqlite-tiny
🎉
This crate is minimalistic SQLite library crate which ships the amalgamation variant and provides a tiny Rust API. If
you just want the embedded SQLite library plus the generated C bindings, you can disable the api
-feature (enabled by
default).
For the sake of simplicity, this crate operates under the following assumption: malloc
is cheap. To keep the code
clean and readable, we are quite liberal with allocating memory and copying data to avoid overly complex life-time
juggling.
Some locations where we do this are (non-exhaustive):
For simplicity, this crate does not link to external SQLite versions, but exclusively builds and embeds the amalgamation
in the dist
-folder. For more information see dist/README.md
.