2023-04-02 17:06:16 +00:00
|
|
|
[package]
|
|
|
|
name = "trifid_api_migration"
|
2023-08-16 03:27:52 +00:00
|
|
|
version = "0.1.2"
|
2023-04-02 17:06:16 +00:00
|
|
|
edition = "2021"
|
2023-06-22 01:11:56 +00:00
|
|
|
description = "Database migrations for trifid-api"
|
|
|
|
license = "GPL-3.0-or-later"
|
|
|
|
documentation = "https://git.e3t.cc/~core/trifid"
|
|
|
|
homepage = "https://git.e3t.cc/~core/trifid"
|
|
|
|
repository = "https://git.e3t.cc/~core/trifid"
|
2023-04-02 17:06:16 +00:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
name = "trifid_api_migration"
|
|
|
|
path = "src/lib.rs"
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
async-std = { version = "1", features = ["attributes", "tokio1"] }
|
2023-08-05 18:39:59 +00:00
|
|
|
async-trait = "0.1"
|
2023-04-02 17:06:16 +00:00
|
|
|
|
|
|
|
[dependencies.sea-orm-migration]
|
2023-07-31 05:08:50 +00:00
|
|
|
version = "0.12"
|
2023-04-02 17:06:16 +00:00
|
|
|
features = [
|
|
|
|
# Enable at least one `ASYNC_RUNTIME` and `DATABASE_DRIVER` feature if you want to run trifid_api_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-postgres",
|
|
|
|
"runtime-actix-rustls"
|
|
|
|
]
|