2022-04-11 04:58:58 +08:00
|
|
|
[package]
|
2022-07-06 15:24:06 +08:00
|
|
|
edition = "2021"
|
|
|
|
license = "Apache-2.0"
|
2022-04-16 06:27:10 +08:00
|
|
|
name = "warpgate-db-migrations"
|
2022-07-06 15:24:06 +08:00
|
|
|
publish = false
|
2024-10-09 06:24:38 +08:00
|
|
|
version = "0.11.0"
|
2022-04-11 04:58:58 +08:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
|
|
|
|
[dependencies]
|
2024-10-18 05:43:24 +08:00
|
|
|
tokio = { version = "1.20", features = ["macros", "rt-multi-thread"] }
|
2024-07-16 16:40:20 +08:00
|
|
|
chrono = { version = "0.4", default-features = false, features = ["serde"] }
|
2024-09-18 17:28:39 +08:00
|
|
|
sea-orm = { version = "0.12", features = [
|
2024-07-16 18:56:42 +08:00
|
|
|
"runtime-tokio-rustls",
|
2022-11-03 03:03:44 +08:00
|
|
|
"macros",
|
|
|
|
"with-chrono",
|
|
|
|
"with-uuid",
|
|
|
|
"with-json",
|
|
|
|
], default-features = false }
|
2024-09-18 17:28:39 +08:00
|
|
|
sea-orm-migration = { version = "0.12", default-features = false, features = [
|
2022-11-12 00:36:30 +08:00
|
|
|
"cli",
|
|
|
|
] }
|
2024-09-18 17:28:39 +08:00
|
|
|
uuid = { version = "1.3", features = ["v4", "serde"] }
|
2022-09-02 20:00:08 +08:00
|
|
|
serde_json = "1.0"
|
2024-10-18 05:43:24 +08:00
|
|
|
|
|
|
|
[features]
|
|
|
|
postgres = ["sea-orm/sqlx-postgres"]
|
|
|
|
mysql = ["sea-orm/sqlx-mysql"]
|
|
|
|
sqlite = ["sea-orm/sqlx-sqlite"]
|