2023-06-01 00:12:59 +02:00
|
|
|
[package]
|
|
|
|
name = "migration"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
publish = false
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
name = "migration"
|
|
|
|
path = "src/lib.rs"
|
|
|
|
|
2023-06-01 18:32:15 +02:00
|
|
|
[features]
|
|
|
|
default = []
|
2023-06-22 19:16:59 +02:00
|
|
|
convert = ["dep:native-utils", "dep:indicatif", "dep:futures"]
|
2023-06-01 18:32:15 +02:00
|
|
|
|
2023-06-01 00:12:59 +02:00
|
|
|
[dependencies]
|
|
|
|
serde_json = "1.0.96"
|
2023-06-03 05:37:36 +02:00
|
|
|
native-utils = { path = "../", optional = true }
|
2023-06-22 19:16:59 +02:00
|
|
|
indicatif = { version = "0.17.4", features = ["tokio"], optional = true }
|
2023-06-01 18:32:15 +02:00
|
|
|
tokio = { version = "1.28.2", features = ["full"] }
|
2023-06-22 19:16:59 +02:00
|
|
|
futures = { version = "0.3.28", optional = true }
|
2023-06-03 06:27:00 +02:00
|
|
|
serde_yaml = "0.9.21"
|
|
|
|
serde = { version = "1.0.163", features = ["derive"] }
|
2023-06-05 17:59:45 +02:00
|
|
|
urlencoding = "2.1.2"
|
2023-06-01 00:12:59 +02:00
|
|
|
|
|
|
|
[dependencies.sea-orm-migration]
|
|
|
|
version = "0.11.0"
|
|
|
|
features = [
|
|
|
|
# Enable at least one `ASYNC_RUNTIME` and `DATABASE_DRIVER` feature if you want to run migration via CLI.
|
|
|
|
# View the list of supported features at https://www.sea-ql.org/SeaORM/docs/install-and-config/database-and-async-runtime.
|
|
|
|
# e.g.
|
|
|
|
"runtime-tokio-rustls", # `ASYNC_RUNTIME` feature
|
|
|
|
"sqlx-postgres", # `DATABASE_DRIVER` feature
|
|
|
|
"sqlx-sqlite",
|
|
|
|
]
|