microrm

Crates.iomicrorm
lib.rsmicrorm
version0.6.0
created_at2022-05-17 06:47:16.472523+00
updated_at2026-01-25 00:38:48.238905+00
descriptionLightweight ORM using sqlite as a backend
homepagehttps://sr.ht/~flying-kestrel/microrm
repository
max_upload_size
id588183
size355,772
(flying-kestrel)

documentation

README

crates.io docs.rs dependency status

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. Both synchronous and asynchronous modes are supported.

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.82.

Commit count: 0

cargo fmt