Skip to content

Commit

Permalink
Update Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
billy1624 committed Feb 2, 2024
1 parent 9fdc5b8 commit 8890a7d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
17 changes: 10 additions & 7 deletions examples/loco_example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,21 @@ async-trait = "0.1.74"
tracing = "0.1.40"
chrono = "0.4"
validator = { version = "0.16" }
sea-orm = { version = "0.12.4", features = [
"sqlx-sqlite",
"sqlx-postgres",
"runtime-tokio-rustls",
"macros",
] }

axum = "0.7.1"
include_dir = "0.7"
uuid = { version = "1.6.0", features = ["v4"] }
tracing-subscriber = { version = "0.3.17", features = ["env-filter", "json"] }

[dependencies.sea-orm]
# path = "../../" # remove this line in your own project
version = "0.12.4" # sea-orm version
features = [
"sqlx-sqlite",
"sqlx-postgres",
"runtime-tokio-rustls",
"macros",
]

[[bin]]
name = "todolist-cli"
path = "src/bin/main.rs"
Expand Down
3 changes: 2 additions & 1 deletion examples/loco_example/migration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ async-std = { version = "1", features = ["attributes", "tokio1"] }
loco-rs = { version = "0.1.6" }

[dependencies.sea-orm-migration]
version = "0.12.4"
# path = "../../../sea-orm-migration" # remove this line in your own project
version = "0.12.4" # sea-orm-migration version
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.
Expand Down

0 comments on commit 8890a7d

Please sign in to comment.