[package]
edition = "2024"
rust-version = "1.85.0"
name = "sea-orm-migration"
version = "2.0.0-rc.39"
authors = ["Billy Chan <ccw.billy.123@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Migration utility for SeaORM"
homepage = "https://www.sea-ql.org/SeaORM"
documentation = "https://docs.rs/sea-orm"
readme = "README.md"
keywords = [
"async",
"orm",
"mysql",
"postgres",
"sqlite",
]
categories = ["database"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/SeaQL/sea-orm"
[features]
cli = [
"clap",
"dotenvy",
"sea-orm-cli/cli",
]
default = ["cli"]
entity-registry = ["sea-orm/entity-registry"]
runtime-async-std = [
"sea-orm/runtime-async-std",
"sea-schema/runtime-async-std",
"sea-orm-cli?/runtime-async-std",
]
runtime-async-std-native-tls = [
"sea-orm/runtime-async-std-native-tls",
"sea-schema/runtime-async-std-native-tls",
"sea-orm-cli?/runtime-async-std-native-tls",
]
runtime-async-std-rustls = [
"sea-orm/runtime-async-std-rustls",
"sea-schema/runtime-async-std-rustls",
"sea-orm-cli?/runtime-async-std-rustls",
]
runtime-tokio = [
"sea-orm/runtime-tokio",
"sea-schema/runtime-tokio",
"sea-orm-cli?/runtime-tokio",
]
runtime-tokio-native-tls = [
"sea-orm/runtime-tokio-native-tls",
"sea-schema/runtime-tokio-native-tls",
"sea-orm-cli?/runtime-tokio-native-tls",
]
runtime-tokio-rustls = [
"sea-orm/runtime-tokio-rustls",
"sea-schema/runtime-tokio-rustls",
"sea-orm-cli?/runtime-tokio-rustls",
]
sqlite-use-returning-for-3_35 = ["sea-orm/sqlite-use-returning-for-3_35"]
sqlx-all = [
"sqlx-mysql",
"sqlx-postgres",
"sqlx-sqlite",
]
sqlx-dep = []
sqlx-mysql = [
"sqlx-dep",
"sea-orm/sqlx-mysql",
"sea-schema/sqlx-mysql",
"sea-orm-cli?/sqlx-mysql",
]
sqlx-postgres = [
"sqlx-dep",
"sea-orm/sqlx-postgres",
"sea-schema/sqlx-postgres",
"sea-orm-cli?/sqlx-postgres",
]
sqlx-sqlite = [
"sqlx-dep",
"sea-orm/sqlx-sqlite",
"sea-schema/sqlx-sqlite",
"sea-orm-cli?/sqlx-sqlite",
]
with-bigdecimal = ["sea-orm/with-bigdecimal"]
with-chrono = ["sea-orm/with-chrono"]
with-ipnetwork = ["sea-orm/with-ipnetwork"]
with-json = ["sea-orm/with-json"]
with-rust_decimal = ["sea-orm/with-rust_decimal"]
with-time = ["sea-orm/with-time"]
with-uuid = ["sea-orm/with-uuid"]
[lib]
name = "sea_orm_migration"
path = "src/lib.rs"
[[test]]
name = "main"
path = "tests/main.rs"
[[test]]
name = "postgres"
path = "tests/postgres.rs"
[dependencies.async-trait]
version = "0.1"
default-features = false
[dependencies.clap]
version = "4.3"
features = [
"env",
"derive",
]
optional = true
[dependencies.dotenvy]
version = "0.15"
optional = true
default-features = false
[dependencies.sea-orm]
version = "~2.0.0-rc.39"
features = ["schema-sync"]
[dependencies.sea-orm-cli]
version = "~2.0.0-rc.39"
optional = true
default-features = false
[dependencies.sea-schema]
version = "0.18.0"
features = [
"discovery",
"writer",
"probe",
]
default-features = false
[dependencies.tracing]
version = "0.1"
features = ["log"]
default-features = false
[dependencies.tracing-subscriber]
version = "0.3.17"
features = [
"env-filter",
"fmt",
]
default-features = false
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
]