firefish/packages/backend/native-utils/migration/Cargo.toml

38 lines
1.1 KiB
TOML
Raw Normal View History

2023-07-20 04:17:05 +09:00
[package]
name = "migration"
version = "0.1.0"
edition = "2021"
publish = false
[lib]
name = "migration"
path = "src/lib.rs"
[features]
default = []
2023-08-31 08:24:27 +09:00
convert = ["dep:native-utils", "dep:indicatif", "dep:futures"]
2023-07-20 04:17:05 +09:00
[dependencies]
2024-01-18 12:45:16 +09:00
serde_json = "1.0.111"
2023-08-31 08:24:27 +09:00
native-utils = { path = "../", optional = true }
2023-12-27 15:26:09 +09:00
indicatif = { version = "0.17.7", features = ["tokio"], optional = true }
tokio = { version = "1.35.1", features = ["full"] }
futures = { version = "0.3.30", optional = true }
2024-01-18 12:45:16 +09:00
serde_yaml = "0.9.30"
serde = { version = "1.0.195", features = ["derive"] }
2023-12-27 15:26:09 +09:00
urlencoding = "2.1.3"
redis = { version = "0.24.0", features = ["tokio-rustls-comp"] }
2024-01-18 12:45:16 +09:00
sea-orm = "0.12.11"
2023-12-27 15:26:09 +09:00
url = { version = "2.5.0", features = ["serde"] }
2023-08-31 08:24:27 +09:00
basen = "0.1.0"
2023-07-20 04:17:05 +09:00
[dependencies.sea-orm-migration]
2024-01-18 12:45:16 +09:00
version = "0.12.11"
2023-07-20 04:17:05 +09:00
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
]