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