4 releases (2 breaking)
new 0.3.0 | Feb 9, 2025 |
---|---|
0.2.0 | Feb 8, 2025 |
0.1.1 | Feb 6, 2025 |
0.1.0 | Feb 1, 2025 |
#1592 in Database interfaces
397 downloads per month
Used in gqlitecli
255KB
7.5K
SLoC
GQLite
GQLite is a Rust-language library, with a C interface, that implements a small, fast, self-contained, high-reliability, full-featured, Graph Query database engine. The dev/2
branch contains the new implementation for GQLite 2.x
, currently released as gqlitedb 0.x
on (crates.io)https://crates.io/crates/gqlitedb. This crate is currently experimental and it is recommended to stick with the GQLite 1.x
branch until further notice.
GQLite source code is license under the MIT License and is free to everyone to use for any purpose.
The official repositories contains bindings/APIs for C, Python and Ruby.
The library is still in its early stage, but it is now fully functional. Development effort has now slowed down and new features are added on a by-need basis. It supports a subset of ISO GQL.
Installation
To build from source, GQLite requires the cmake build system. For development, it might be necesserary to install ruby (for the test suite and updating SQL queries) and ptc (for updating SQL queries).
Specific installation instructions can be found in the installation section of the documentation.
Documentation
Storage Backends
- redb store. This is the current default store for
gqlite 2.x
. - sqlite store. Pre-planning for a sqlite store, which the fasted and most used SQL database. This enable to achieve high performance and for application to combine Graph queries with traditional SQL queries. This is required for
gqlite 2.0
. - postgresql work-in-progress.
Contributions
Contributions are very welcome. They should be submited as merge requests in gitlab. Submited code should be formated with rustfmt, using the rustfmt.toml
in the root.
Dependencies
~5–10MB
~201K SLoC