# 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 = "qians_xql" version = "0.2.9" authors = ["M. Awad Syahid "] description = "SQL query builder" homepage = "https://github.com/ISHENGQIANI/xql" documentation = "https://docs.rs/xql" readme = "README.md" keywords = [ "database", "sqlx", "postgres", "mysql", "sqlite", ] categories = ["database"] license = "GPL-3.0-or-later" repository = "https://github.com/ISHENGQIANI/xql" [package.metadata.docs.rs] features = [ "postgres", "mysql", "sqlite", ] rustdoc-args = [ "--cfg", "docsrs", ] [[test]] name = "postgres" path = "tests/postgres.rs" required-features = ["postgres"] [[test]] name = "mysql" path = "tests/mysql.rs" required-features = ["mysql"] [[test]] name = "sqlite" path = "tests/sqlite.rs" required-features = ["sqlite"] [[test]] name = "derive" path = "tests/derive.rs" required-features = ["derive"] [dependencies.chrono] version = "0.4" optional = true default-features = false [dependencies.rust_decimal] version = "1.22" optional = true default-features = false [dependencies.sqlx] version = "0.5" features = ["runtime-tokio-rustls"] optional = true default-features = false [dependencies.xql-derive] version = "0.1" optional = true [dev-dependencies.sqlx] version = "0.5" features = [ "runtime-tokio-rustls", "macros", "postgres", "mysql", "sqlite", ] default-features = false [dev-dependencies.tokio] version = "1.17" features = [ "rt-multi-thread", "macros", ] default-features = false [features] derive = ["xql-derive"] mysql = ["sqlx/mysql"] postgres = ["sqlx/postgres"] sqlite = ["sqlx/sqlite"] use-chrono = [ "sqlx/chrono", "chrono", ] use-decimal = [ "sqlx/decimal", "rust_decimal", ]