Cargo.toml 634 B

1234567891011121314151617181920212223
  1. [package]
  2. name = "migration"
  3. version = "0.1.0"
  4. edition = "2021"
  5. publish = false
  6. [lib]
  7. name = "migration"
  8. path = "src/lib.rs"
  9. [dependencies]
  10. tokio = { version = "1.36.0", features = ["rt-multi-thread", "macros"] }
  11. [dependencies.sea-orm-migration]
  12. version = "0.12.0"
  13. features = [
  14. # Enable at least one `ASYNC_RUNTIME` and `DATABASE_DRIVER` feature if you want to run migration via CLI.
  15. # View the list of supported features at https://www.sea-ql.org/SeaORM/docs/install-and-config/database-and-async-runtime.
  16. # e.g.
  17. "runtime-tokio-rustls", # `ASYNC_RUNTIME` feature
  18. "sqlx-postgres", # `DATABASE_DRIVER` feature
  19. ]