3 releases (breaking)
Uses old Rust 2015
0.2.0 | Oct 2, 2018 |
---|---|
0.1.0 | Jul 2, 2018 |
0.0.1 | Jun 14, 2018 |
#64 in #most
13KB
237 lines
sqlitemap
An attempt at replicating much of the HashMap interface and trait implementations but using sqlite as a backend instead. Just uses rusqlite and depends on its traits as much as possible, using its ToSql and FromSql traits to insert and retrieve any objects. This means that most checking is done at runtime, unfortunately, because Rust can't know at compile time if the object being pulled is deserializable or not. Results have to wrap most database operations to bubble sql and database errors, so many retrieval functions are an Option within a result.
Dependencies
~21MB
~406K SLoC