Akita
Akita is a mini framework for MySQL.
You may be looking for:
Akita in action
[]
# The core APIs, including the Table traits. Always
# required when using Akita. using #[derive(Table)]
# to make Akita work with structs defined in your crate.
= { = "0.2.0"] }
use *;
use *;
/// Annotion Support: Table、table_id、field (name, exist)
Annotions.
Table
- to make Akita work with structscolumn
- to make struct field with own database.name
- work with column, make the table's field name. default struct' field name.exist
- ignore struct's field with table. default true.
Support Field Types.
Option<T>
u8, u32, u64
i32, i64
usize
bool
f32, f64
str, String
NaiveDate, NaiveDateTime
Developing
To setup the development envrionment run cargo run
.
Contributers
MrPan <1049058427@qq.com>
Getting help
Akita is a personal project. At the beginning, I just like Akita dog because of my hobbies. I hope this project will grow more and more lovely. Many practical database functions will be added in the future. I hope you can actively help this project grow and put forward suggestions. I believe the future will be better and better.