# 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 = "dysql-core" version = "2.0.0" description = "Dysql is a rust crate that do dynamic-sql query through proc-macro, it bases on sqlx crate" documentation = "https://docs.rs/dysql-core" readme = "README.md" license = "GPL-3.0" repository = "https://github.com/evanzp0/dysql-project" [dependencies.async-trait] version = "0.1" [dependencies.cargo_metadata] version = "0.18" [dependencies.dysql-tpl] version = "2" [dependencies.fnv] version = "1.0" [dependencies.home] version = "0.5" [dependencies.log] version = "0.4" [dependencies.once_cell] version = "1.13" [dependencies.paste] version = "1" [dependencies.rbatis] version = "4.5" optional = true [dependencies.rbdc-mysql] version = "4.5" optional = true [dependencies.rbdc-pg] version = "4.5" optional = true [dependencies.rbdc-sqlite] version = "4.5" optional = true [dependencies.rbs] version = "4.5" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.sqlx] version = "0.7" features = [ "uuid", "chrono", ] optional = true [dependencies.tokio-pg-mapper] version = "0.2" optional = true [dependencies.tokio-pg-mapper-derive] version = "0.2" optional = true [dependencies.tokio-postgres] version = "0.7" features = [ "with-chrono-0_4", "with-uuid-1", ] optional = true [dependencies.uuid] version = "1" [dev-dependencies.futures] version = "0.3" [dev-dependencies.tokio] version = "1.34" features = ["full"] [features] default = [] rbatis-mysql = [ "rbs", "rbatis", "rbdc-mysql", ] rbatis-pg = [ "rbs", "rbatis", "rbdc-pg", ] rbatis-sqlite = [ "rbs", "rbatis", "rbdc-sqlite", ] sqlx-mysql = ["sqlx/mysql"] sqlx-postgres = ["sqlx/postgres"] sqlx-sqlite = ["sqlx/sqlite"] tokio-postgres = [ "dep:tokio-postgres", "tokio-pg-mapper", "tokio-pg-mapper-derive", "dysql-tpl/postgres", ]