Structsy
Structsy is a simple, single file, embedded, struct database for rust, with support of transactions.
SCOPE
This project is born with the scope to try new concepts for persist data with structs, still being useful for small scale standalone applications.
The first concept is implement the persistence behaviour with the use of derive macro, covering data persistence and indexing, taking inspiration from what serde does for serialization.
Another experimental concept is to define data access query with pure traits, of which the implementation may be automatically generated, taking inspiration from the code generation of mockiato
COMPILING THE SOURCE
Checkout the source code:
git clone https://gitlab.com/tglman/structsy.git
Compile and Test
cargo test
INSTALL
Add it as dependency of your project:
[]
="0.1"
USAGE EXAMPLE
Persist a simple struct.
use ;
use ;