Lightweight SQLite ORM

Kestrel 9715002e2e Fixup itertools removal. il y a 6 jours
microrm 9715002e2e Fixup itertools removal. il y a 6 jours
microrm-macros 68848905fe Working very simple schema migration! il y a 1 semaine
.gitignore a763557e88 Fix statement ordering bug with DBPool. il y a 3 ans
.vimrc d06683b9f6 rustfmt pass and get_one_by_multi support. il y a 3 ans
CHANGELOG.md 9704e7f6d5 Correct microrm-macros dependency and bump version number again. il y a 11 mois
Cargo.toml ab06e1f3c2 Significant reworking of query interface to be more unified. il y a 1 an
README.md 95c0e5c9b3 Minor cleanups. il y a 6 jours
rust-analyzer.json 25603a6dfe Improve documentation and tighten trait impl requirements slightly. il y a 1 an
rustfmt.toml d53c910e9f Add rustfmt.toml. il y a 1 an

README.md

docs.rs

microrm is a simple object relational manager (ORM) for sqlite that requires no external tooling, keeping all specifications in natural Rust types with no DSLs.

Unlike many fancier ORM systems, microrm is designed to be lightweight, both in terms of runtime overhead and developer LoC. By necessity, it sacrifices flexibility towards these goals, and so can be thought of as more opinionated than, say, SeaORM or Diesel. Major limitations of microrm are:

  • slightly clumsy database migration support
  • limited vocabulary for describing object-to-object relations

microrm pushes the Rust type system somewhat, so the MSRV is currently 1.75. Don't be scared off by the web of traits in the schema module --- you should never need to interact with any of them!