# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "tiny_orm_core" version = "0.4.6" authors = ["一叶微尘 "] description = "基于sqlx的将SQL和ORM结合的简易ORM实现" documentation = "https://docs.rs/tiny_orm_core/" readme = "README.md" keywords = [ "orm", "sqlx", ] categories = ["database"] license = "MIT OR Apache-2.0" repository = "https://gitee.com/eshangrao/tiny-orm" resolver = "1" [dependencies.anyhow] version = "1.0" [dependencies.async-trait] version = "^0.1" [dependencies.serde] version = "^1.0" features = ["derive"] [dependencies.serde_with] version = "^1.0" features = ["json"] [dependencies.sqlx] version = "0.7" optional = true default-features = false [dependencies.time] version = "^0.3" features = [ "macros", "parsing", "formatting", "local-offset", ] [dependencies.tiny_orm_macro_derive] version = "0.4.5" [dependencies.tokio] version = "1" features = [ "rt", "rt-multi-thread", "io-std", "net", "macros", "sync", "fs", ] [features] any = [ "sqlx-dev", "sqlx/any", ] default = ["mysql"] mysql = [ "sqlx-dev", "sqlx/mysql", ] postgres = [ "sqlx-dev", "sqlx/postgres", ] sqlite = [ "sqlx-dev", "sqlx/sqlite", ] sqlx-dev = [ "sqlx/runtime-tokio", "sqlx/tls-rustls", "sqlx/macros", "sqlx/migrate", "sqlx/time", "sqlx/json", ]