13 releases (8 breaking)
Uses new Rust 2024
| 0.9.0 | Mar 1, 2026 |
|---|---|
| 0.7.0 | Feb 20, 2026 |
| 0.5.0 | Nov 26, 2025 |
| 0.4.1 | Jun 19, 2025 |
| 0.1.0 | Mar 29, 2025 |
#1254 in Filesystem
Used in graft-sqlite
195KB
1.5K
SLoC
SQLite Plugin
sqlite-plugin provides a streamlined and flexible way to implement SQLite virtual file systems (VFS) in Rust. Inspired by sqlite-vfs, it offers a distinct design with key enhancements:
- Centralized Control: The
Vfstrait intercepts all file operations at the VFS level, rather than delegating them directly to file handles. This simplifies shared state management and enables more advanced behaviors. - Custom Pragmas: Easily define and handle custom SQLite pragmas to extend database functionality.
- Integrated Logging: Seamlessly forward logs to SQLiteโs built-in logging system for unified diagnostics.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.
No runtime deps
~0โ1.9MB
~37K SLoC