2023-06-01 07:12:59 +09:00
|
|
|
[package]
|
|
|
|
name = "migration"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
publish = false
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
name = "migration"
|
|
|
|
path = "src/lib.rs"
|
|
|
|
|
2023-06-02 01:32:15 +09:00
|
|
|
[features]
|
|
|
|
default = []
|
|
|
|
convert = []
|
|
|
|
|
2023-06-01 07:12:59 +09:00
|
|
|
[dependencies]
|
|
|
|
async-std = { version = "1", features = ["attributes", "tokio1"] }
|
|
|
|
serde_json = "1.0.96"
|
|
|
|
model = { path = "../model" }
|
2023-06-02 01:32:15 +09:00
|
|
|
indicatif = { version = "0.17.4", features = ["tokio"] }
|
|
|
|
tokio = { version = "1.28.2", features = ["full"] }
|
|
|
|
futures = "0.3.28"
|
2023-06-01 07:12:59 +09: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",
|
|
|
|
]
|