# turso-orm-macros
[](https://crates.io/crates/turso-orm-macros)
[](https://docs.rs/turso-orm-macros)
Derive macros for [turso-orm](https://github.com/aartintelligent/turso-orm):
`DeriveEntityModel`, `DeriveRelation`, `DeriveActiveEnum`,
`DerivePartialModel`, `DeriveIntoActiveModel`, `DeriveIden`,
`FromQueryResult`, `DeriveMigrationName`. Use them through
`turso_orm::prelude::*`.
## Part of turso-orm
This crate is one layer of
[turso-orm](https://github.com/aartintelligent/turso-orm), an async ORM for
the Turso database. The repository holds the
[design notes](https://aartintelligent.github.io/turso-orm/overview/design/),
the [examples](https://github.com/aartintelligent/turso-orm/tree/main/examples)
and the [issue tracker](https://github.com/aartintelligent/turso-orm/issues).
## License
MIT OR Apache-2.0, see
[LICENSE-MIT](https://github.com/aartintelligent/turso-orm/blob/main/LICENSE-MIT)
and
[LICENSE-APACHE](https://github.com/aartintelligent/turso-orm/blob/main/LICENSE-APACHE).