Turso Database is an in-process SQL database, compatible with SQLite.
Turso Database is a work-in-progress, in-process OLTP database engine library written in Rust that has:
- SQLite compatibility [doc] for SQL dialect, file formats, and the C API
- Language bindings for JavaScript/WebAssembly, Rust, Go, Python, and Java
- Asynchronous I/O support on Linux with io_uring
- OS support for Linux, macOS, and Windows
In the future, we will be also working on:
- BEGIN CONCURRENT for improved write throughput.
- Indexing for vector search.
- Improved schema management including better ALTER support and strict column types by default.
Please see the Turso Database Manual for more information.
💻 Command LineYou can install the latest `turso` release with:
Then launch the shell to execute SQL statements:
You can also build and run the latest development version with:
🦀 RustExample usage:
Example usage:
Example usage:
- Clone the repository
- Build the library and set your LD_LIBRARY_PATH to include turso's target directory
- Use the driver
Example usage:
We integrated Turso Database into JDBC. For detailed instructions on how to use Turso Database with java, please refer to the README.md under bindings/java.
We'd love to have you contribute to Turso Database! Please check out the contribution guide to get started.
Turso Database is currently under heavy development and is not ready for production use.
Turso Database is a project to build the next evolution of SQLite in Rust, with a strong open contribution focus and features like native async support, vector search, and more. The libSQL project is also an attempt to evolve SQLite in a similar direction, but through a fork rather than a rewrite.
Rewriting SQLite in Rust started as an unassuming experiment, and due to its incredible success, replaces libSQL as our intended direction. At this point, libSQL is production ready, Turso Database is not - although it is evolving rapidly. More details here.
- Pekka Enberg, Sasu Tarkoma, Jon Crowcroft Ashwin Rao (2024). Serverless Runtime / Database Co-Design With Asynchronous I/O. In EdgeSys ‘24. [PDF]
- Pekka Enberg, Sasu Tarkoma, and Ashwin Rao (2023). Towards Database and Serverless Runtime Co-Design. In CoNEXT-SW ’23. [PDF] [Slides]
This project is licensed under the MIT license.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Turso Database by you, shall be licensed as MIT, without any additional terms or conditions.
Thanks to all the partners of Turso!
Thanks to all the contributors to Turso Database!
.png)




