针对 SQLite 的 Rusty API
…Use this library if you want to fearlessly query and migrate your SQLite database with a Rusty API build on an encoding of your schema in types.
Here are some errors that rust-query can prevent at compile-time:
Some other errors cannot be prevented at compile-time, but they can
be turned into Result types so that the user is aware of them:
Next to those features, rust-query also helps writing complex queries:
Do not use rust-query if you want a zero-cost abstraction.
The focus of this project is on bringing errors to compile-time and
generally making transactions easier to write.
Do not use rust-query migrations if you plan to keep those migrations around for a long time.
Currently rust-query generates quite a bit of code for every version of your schema and migrations
may need to be updated to work with a new breaking version of rust-query.
Improving compatiblity with migrations managed by other tools is on the roadmap.
Note that this project is still in relatively early stages. There might be bugs to catch, so if you are worried about that, then don't use this yet.
The current focus is on making the library more accessible and more generally useful. Funded by NLnet!
暂无开放 Issues,或尚未同步最近议题。