30 lines
936 B
TOML
30 lines
936 B
TOML
[package]
|
|
name = "trifid_api_migration"
|
|
version = "0.3.0"
|
|
edition = "2021"
|
|
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"
|
|
|
|
[lib]
|
|
name = "trifid_api_migration"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
async-std = { version = "1", features = ["attributes", "tokio1"] }
|
|
async-trait = "0.1"
|
|
|
|
[dependencies.sea-orm-migration]
|
|
version = "0.12"
|
|
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"
|
|
]
|