[package]
name = "easy-sqlx"
version = "0.1.0"
readme = "README.md"
edition = "2021"
authors = ["1701 <79628868@qq.com>"]
license = "Apache-2.0"
categories = ["database"]
keywords = ["database", "orm", "sqlx", "easy-sqlx"]
documentation = "https://gitee.com/knowgo/easy-sqlx"
description = "The Rust Toolkit to easy use sqlx"
repository = "https://gitee.com/knowgo/easy-sqlx"
homepage = "https://gitee.com/knowgo/easy-sqlx"
[workspace]
members = ["easy-sqlx-core", "easy-sqlx-macro", "easy-sqlx-utils", "example"]
[workspace.package]
edition = "2021"
rust-version = "1.80.1"
[features]
default = ["postgres", "chrono"]
postgres = []
chrono = []
[workspace.dependencies]
pilota = "^0"
regex = "1"
chrono = { version = "0.4", features = ["serde"] }
heck = { version = "^0.5" }
syn = "^2.0"
quote = "1.0"
proc-macro2 = "^1"
sqlx = { version = "^0", features = [
"runtime-async-std",
"tls-native-tls",
"postgres",
"macros",
"chrono",
] }
sqlx-core = { version = "0" }
tracing = { version = "0.1.40" }
tracing-subscriber = { version = "0.3.18" }
futures = "^0.3"
easy-sqlx-core = { path = "./easy-sqlx-core", features=["postgres", "chrono"], version = "^0" }
easy-sqlx-macro = { path = "./easy-sqlx-macro", version = "^0" }
[dependencies]
easy-sqlx-core.workspace = true
easy-sqlx-macro.workspace = true