https://github.com/orbitinghail/sqlite-plugin
A Rust crate for building a custom SQLite virtual file system (VFS).
https://github.com/orbitinghail/sqlite-plugin
extension plugin sqlite vfs
Last synced: 9 months ago
JSON representation
A Rust crate for building a custom SQLite virtual file system (VFS).
- Host: GitHub
- URL: https://github.com/orbitinghail/sqlite-plugin
- Owner: orbitinghail
- Created: 2025-03-29T21:00:30.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-03-29T21:32:45.000Z (9 months ago)
- Last Synced: 2025-03-29T21:33:02.388Z (9 months ago)
- Topics: extension, plugin, sqlite, vfs
- Language: Rust
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
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 `Vfs` trait 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.
[sqlite-vfs]: https://github.com/rklaehn/sqlite-vfs
## 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.
[LICENSE-APACHE]: ./LICENSE-APACHE
[LICENSE-MIT]: ./LICENSE-MIT
### 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.