Lightweight SQLite ORM

Kestrel b9d8091ddf Add bundled_sqlite feature and bump version number. há 2 meses atrás
microrm b9d8091ddf Add bundled_sqlite feature and bump version number. há 2 meses atrás
microrm-macros 1779eefc1c Fix some clippy nits, add skeleton changelog, bump versions for release. há 2 meses atrás
.gitignore a763557e88 Fix statement ordering bug with DBPool. há 2 anos atrás
.vimrc d06683b9f6 rustfmt pass and get_one_by_multi support. há 2 anos atrás
CHANGELOG.md 1779eefc1c Fix some clippy nits, add skeleton changelog, bump versions for release. há 2 meses atrás
Cargo.toml ab06e1f3c2 Significant reworking of query interface to be more unified. há 8 meses atrás
README.md 4711b79330 Expand documentation somewhat. há 6 meses atrás
rust-analyzer.json 25603a6dfe Improve documentation and tighten trait impl requirements slightly. há 6 meses atrás
rustfmt.toml d53c910e9f Add rustfmt.toml. há 6 meses atrás

README.md

docs.rs

microrm is a simple object relational manager (ORM) for sqlite.

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:

  • lack of database migration support
  • limited vocabulary for describing object-to-object relations

microrm pushes the Rust type system somewhat to provide better ergonomics, 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!