#crud #component #connection #injection #build #updater

nightly citadel-crud

Create tangible CRUD components for concern separation and dependency injection. Currently only works with SqlLite

2 releases

Uses old Rust 2015

0.1.1 Feb 2, 2018
0.1.0 Jan 23, 2018

#26 in #updater

41 downloads per month

MIT license

11KB
63 lines

Citadel-Crud

Here's a very small rundown of this rust library:

  • Abstract database connections to form DBMS-agnostic pools

impl DatabaseConnection for MyConnection

  • Create in-memory objects for CRUD operations

impl Updater for Calendar

  • Compose CRUD components to build larger ones

let dashboard: Component = calendar.bind(messages).bind(users)

Dependencies

~21MB
~392K SLoC