Skip to content

A Rust crate for building a custom SQLite virtual file system (VFS).

Notifications You must be signed in to change notification settings

orbitinghail/sqlite-plugin

Repository files navigation

SQLite Plugin

docs.rs   Build Status   crates.io

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.

License

Licensed under either of

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.

About

A Rust crate for building a custom SQLite virtual file system (VFS).

Topics

Resources

Stars

Watchers

Forks

Languages