[package] name = "tiny_orm_core" version = "0.4.6" edition = "2021" description = "基于sqlx的将SQL和ORM结合的简易ORM实现" license = "MIT OR Apache-2.0" authors = ["一叶微尘 "] keywords = ["orm", "sqlx"] categories = ["database"] readme = "README.md" repository = "https://gitee.com/eshangrao/tiny-orm" documentation = "https://docs.rs/tiny_orm_core/" [features] default = ["mysql"] postgres = ["sqlx-dev","sqlx/postgres"] mysql = ["sqlx-dev","sqlx/mysql"] sqlite = ["sqlx-dev","sqlx/sqlite"] any = ["sqlx-dev","sqlx/any"] sqlx-dev = ["sqlx/runtime-tokio","sqlx/tls-rustls","sqlx/macros","sqlx/migrate","sqlx/time","sqlx/json"] [dependencies] anyhow = "1.0" async-trait = "^0.1" #tiny_orm_macro_derive = "0.4.2" [dependencies.serde] version = "^1.0" features = ["derive"] [dependencies.serde_with] version = "^1.0" features = ["json"] [dependencies.time] version = "^0.3" features = ["macros", "parsing", "formatting", "local-offset"] [dependencies.sqlx] version = "0.7" default-features = false optional = true [dependencies.tokio] version = "1" features = ["rt","rt-multi-thread","io-std","net","macros","sync","fs"] [dependencies.tiny_orm_macro_derive] version = "0.4.5" #path = "../tiny_orm_macro_derive"