Library
The Rust crate (library) kanto
is a programming library for application development, much in the style of SQLite.
It stores the database in a directory of local files.
Differences from SQLite:
- The
kanto
library is written in Rust, not C, and thus can be used natively only from Rust programs. - Bindings for other programming languages can be made later, for example for C, C++, JavaScript (NodeJS, Deno), Python.
- RocksDB databases can only be opened by one process at a time; SQLite lets multiple processes open the database, managing locking at a more fine grained level. (Note that multi-process SQLite databases come with performance caveats, and generally should be avoided, but are useful as an admin side channel; we do not currently have a solution like that.)