From bf65bfd2053756115bb4ab676695a2484fb07e2a Mon Sep 17 00:00:00 2001 From: Billy Chan Date: Fri, 9 Aug 2024 22:22:51 +0800 Subject: [PATCH] Fix examples --- examples/loco_example/Cargo.lock | 208 ++++++++++++------ examples/loco_example/Cargo.toml | 5 +- examples/loco_example/migration/Cargo.toml | 2 +- examples/loco_seaography/Cargo.toml | 5 +- examples/loco_seaography/migration/Cargo.toml | 2 +- examples/loco_starter/Cargo.toml | 5 +- examples/loco_starter/migration/Cargo.toml | 2 +- examples/react_admin/backend/Cargo.toml | 5 +- .../react_admin/backend/migration/Cargo.toml | 2 +- 9 files changed, 156 insertions(+), 80 deletions(-) diff --git a/examples/loco_example/Cargo.lock b/examples/loco_example/Cargo.lock index 4af5d276..e3583a51 100644 --- a/examples/loco_example/Cargo.lock +++ b/examples/loco_example/Cargo.lock @@ -35,7 +35,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" dependencies = [ "cfg-if", - "getrandom", "once_cell", "version_check", "zerocopy", @@ -574,13 +573,16 @@ dependencies = [ [[package]] name = "bigdecimal" -version = "0.3.1" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6773ddc0eafc0e509fb60e48dff7f450f8e674a0686ae8605e8d9901bd5eefa" +checksum = "51d712318a27c7150326677b321a5fa91b55f6d9034ffd67f20319e147d40cee" dependencies = [ + "autocfg", + "libm", "num-bigint", "num-integer", "num-traits", + "serde", ] [[package]] @@ -786,9 +788,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.1.7" +version = "1.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26a5c3fd7bfa1ce3897a3a3501d362b2d87b7f2583ebcb4a949ec25911025cbc" +checksum = "504bdec147f2cc13c8b57ed9401fd8a147cc66b67ad5cb241394244f2c947549" dependencies = [ "jobserver", "libc", @@ -855,9 +857,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.13" +version = "4.5.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fbb260a053428790f3de475e304ff84cdbc4face759ea7a3e64c1edd938a7fc" +checksum = "c937d4061031a6d0c8da4b9a4f98a172fc2976dfb1c19213a9cf7d0d3c837e36" dependencies = [ "clap_builder", "clap_derive", @@ -865,9 +867,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.13" +version = "4.5.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64b17d7ea74e9f833c7dbf2cbe4fb12ff26783eda4782a8975b72f895c9b4d99" +checksum = "85379ba512b21a328adf887e85f7742d12e96eb31f3ef077df4ffc26b506ffed" dependencies = [ "anstream", "anstyle", @@ -1011,6 +1013,15 @@ dependencies = [ "once_cell", ] +[[package]] +name = "crossbeam-channel" +version = "0.5.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33480d6946193aa8033910124896ca395333cae7e2d1113d1fef6c3272217df2" +dependencies = [ + "crossbeam-utils", +] + [[package]] name = "crossbeam-deque" version = "0.8.5" @@ -1622,9 +1633,9 @@ dependencies = [ [[package]] name = "hashlink" -version = "0.8.4" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8094feaf31ff591f651a2664fb9cfd92bba7a60ce3197265e9482ebe753c8f7" +checksum = "6ba4ff7128dee98c7dc9794b6a411377e1404dba1c97deb8d1a55297bd25d8af" dependencies = [ "hashbrown 0.14.5", ] @@ -1634,9 +1645,6 @@ name = "heck" version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" -dependencies = [ - "unicode-segmentation", -] [[package]] name = "heck" @@ -1984,9 +1992,9 @@ checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" [[package]] name = "itertools" -version = "0.12.1" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" +checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" dependencies = [ "either", ] @@ -2102,9 +2110,9 @@ dependencies = [ [[package]] name = "libsqlite3-sys" -version = "0.27.0" +version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf4e226dcd58b4be396f7bd3c20da8fdee2911400705297ba7d2d7cc2c30f716" +checksum = "0c10584274047cb335c23d3e61bcef8e323adae7c5c8c760540f73610177fc3f" dependencies = [ "cc", "pkg-config", @@ -2141,9 +2149,7 @@ dependencies = [ [[package]] name = "loco-rs" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9cb93effcc77153e538b4ba3bba72b0c6ffe6b862c47e986fc2aa2684586844" +version = "0.7.0" dependencies = [ "argon2", "async-trait", @@ -2160,7 +2166,6 @@ dependencies = [ "clap", "colored", "duct", - "eyre", "fs-err", "futures-util", "hyper", @@ -2169,6 +2174,7 @@ dependencies = [ "lazy_static", "lettre", "mime", + "moka", "object_store", "rand", "regex", @@ -2187,6 +2193,7 @@ dependencies = [ "tower", "tower-http", "tracing", + "tracing-appender", "tracing-subscriber", "uuid", "validator", @@ -2296,6 +2303,26 @@ dependencies = [ "windows-sys 0.52.0", ] +[[package]] +name = "moka" +version = "0.12.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32cf62eb4dd975d2dde76432fb1075c49e3ee2331cf36f1f8fd4b66550d32b6f" +dependencies = [ + "crossbeam-channel", + "crossbeam-epoch", + "crossbeam-utils", + "once_cell", + "parking_lot", + "quanta", + "rustc_version", + "smallvec", + "tagptr", + "thiserror", + "triomphe", + "uuid", +] + [[package]] name = "nom" version = "7.1.3" @@ -2391,18 +2418,18 @@ dependencies = [ [[package]] name = "object" -version = "0.36.2" +version = "0.36.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f203fa8daa7bb185f760ae12bd8e097f63d17041dcdcaf675ac54cdf863170e" +checksum = "27b64972346851a39438c60b341ebc01bba47464ae329e55cf343eb93964efd9" dependencies = [ "memchr", ] [[package]] name = "object_store" -version = "0.9.1" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8718f8b65fdf67a45108d1548347d4af7d71fb81ce727bbf9e3b2535e079db3" +checksum = "e6da452820c715ce78221e8202ccc599b4a52f3e1eb3eedb487b680c81a8e3f3" dependencies = [ "async-trait", "bytes", @@ -2834,6 +2861,21 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "quanta" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e5167a477619228a0b284fac2674e3c388cba90631d7b7de620e6f1fcd08da5" +dependencies = [ + "crossbeam-utils", + "libc", + "once_cell", + "raw-cpuid", + "wasi", + "web-sys", + "winapi", +] + [[package]] name = "quote" version = "1.0.36" @@ -2885,6 +2927,15 @@ dependencies = [ "getrandom", ] +[[package]] +name = "raw-cpuid" +version = "11.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb9ee317cfe3fbd54b36a511efc1edd42e216903c9cd575e686dd68a2ba90d8d" +dependencies = [ + "bitflags 2.6.0", +] + [[package]] name = "redis" version = "0.22.3" @@ -3365,7 +3416,7 @@ dependencies = [ [[package]] name = "sea-orm" -version = "1.0.0" +version = "1.1.0-rc.1" dependencies = [ "async-stream", "async-trait", @@ -3391,7 +3442,7 @@ dependencies = [ [[package]] name = "sea-orm-cli" -version = "1.0.0" +version = "1.1.0-rc.1" dependencies = [ "chrono", "clap", @@ -3406,7 +3457,7 @@ dependencies = [ [[package]] name = "sea-orm-macros" -version = "1.0.0" +version = "1.1.0-rc.1" dependencies = [ "heck 0.4.1", "proc-macro2", @@ -3418,7 +3469,7 @@ dependencies = [ [[package]] name = "sea-orm-migration" -version = "1.0.0" +version = "1.1.0-rc.1" dependencies = [ "async-trait", "clap", @@ -3433,9 +3484,9 @@ dependencies = [ [[package]] name = "sea-query" -version = "0.31.0" +version = "0.32.0-rc.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e5073b2cfed767511a57d18115f3b3d8bcb5690bf8c89518caec6cb22c0cd74" +checksum = "6fba498acd58ce434669f273505cd07737065472eb541c3f813c7f4ce33993f5" dependencies = [ "bigdecimal", "chrono", @@ -3451,9 +3502,9 @@ dependencies = [ [[package]] name = "sea-query-binder" -version = "0.6.0" +version = "0.7.0-rc.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "754965d4aee6145bec25d0898e5c931e6c22859789ce62fd85a42a15ed5a8ce3" +checksum = "edc3296903e60ddc7c9f4601cd6ef31a4b1584bf22480587e00b9ef743071b57" dependencies = [ "bigdecimal", "chrono", @@ -3480,9 +3531,9 @@ dependencies = [ [[package]] name = "sea-schema" -version = "0.15.0" +version = "0.16.0-rc.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad52149fc81836ea7424c3425d8f6ed8ad448dd16d2e4f6a3907ba46f3f2fd78" +checksum = "a2a4ff9e87c4340affbec4f7790d724dcd87e71fcd0ffe2247481843380485aa" dependencies = [ "futures", "sea-query", @@ -3518,18 +3569,18 @@ dependencies = [ [[package]] name = "serde" -version = "1.0.204" +version = "1.0.205" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc76f558e0cbb2a839d37354c575f1dc3fdc6546b5be373ba43d95f231bf7c12" +checksum = "e33aedb1a7135da52b7c21791455563facbbcc43d0f0f66165b42c21b3dfb150" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.204" +version = "1.0.205" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0cd7e117be63d3c3678776753929474f3b04a43a080c744d6b0ae2a8c28e222" +checksum = "692d6f5ac90220161d6774db30c662202721e64aed9058d2c394f451261420c1" dependencies = [ "proc-macro2", "quote", @@ -3793,6 +3844,9 @@ name = "smallvec" version = "1.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" +dependencies = [ + "serde", +] [[package]] name = "smawk" @@ -3873,9 +3927,9 @@ dependencies = [ [[package]] name = "sqlx" -version = "0.7.4" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9a2ccff1a000a5a59cd33da541d9f2fdcd9e6e8229cc200565942bff36d0aaa" +checksum = "27144619c6e5802f1380337a209d2ac1c431002dd74c6e60aebff3c506dc4f0c" dependencies = [ "sqlx-core", "sqlx-macros", @@ -3886,11 +3940,10 @@ dependencies = [ [[package]] name = "sqlx-core" -version = "0.7.4" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24ba59a9342a3d9bab6c56c118be528b27c9b60e490080e9711a04dccac83ef6" +checksum = "a999083c1af5b5d6c071d34a708a19ba3e02106ad82ef7bbd69f5e48266b613b" dependencies = [ - "ahash 0.8.11", "atoi", "bigdecimal", "byteorder", @@ -3899,12 +3952,13 @@ dependencies = [ "crc", "crossbeam-queue", "either", - "event-listener 2.5.3", + "event-listener 5.3.1", "futures-channel", "futures-core", "futures-intrusive", "futures-io", "futures-util", + "hashbrown 0.14.5", "hashlink", "hex", "indexmap", @@ -3933,26 +3987,26 @@ dependencies = [ [[package]] name = "sqlx-macros" -version = "0.7.4" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ea40e2345eb2faa9e1e5e326db8c34711317d2b5e08d0d5741619048a803127" +checksum = "a23217eb7d86c584b8cbe0337b9eacf12ab76fe7673c513141ec42565698bb88" dependencies = [ "proc-macro2", "quote", "sqlx-core", "sqlx-macros-core", - "syn 1.0.109", + "syn 2.0.72", ] [[package]] name = "sqlx-macros-core" -version = "0.7.4" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5833ef53aaa16d860e92123292f1f6a3d53c34ba8b1969f152ef1a7bb803f3c8" +checksum = "1a099220ae541c5db479c6424bdf1b200987934033c2584f79a0e1693601e776" dependencies = [ "dotenvy", "either", - "heck 0.4.1", + "heck 0.5.0", "hex", "once_cell", "proc-macro2", @@ -3964,7 +4018,7 @@ dependencies = [ "sqlx-mysql", "sqlx-postgres", "sqlx-sqlite", - "syn 1.0.109", + "syn 2.0.72", "tempfile", "tokio", "url", @@ -3972,12 +4026,12 @@ dependencies = [ [[package]] name = "sqlx-mysql" -version = "0.7.4" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ed31390216d20e538e447a7a9b959e06ed9fc51c37b514b46eb758016ecd418" +checksum = "5afe4c38a9b417b6a9a5eeffe7235d0a106716495536e7727d1c7f4b1ff3eba6" dependencies = [ "atoi", - "base64 0.21.7", + "base64 0.22.1", "bigdecimal", "bitflags 2.6.0", "byteorder", @@ -4019,12 +4073,12 @@ dependencies = [ [[package]] name = "sqlx-postgres" -version = "0.7.4" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c824eb80b894f926f89a0b9da0c7f435d27cdd35b8c655b114e58223918577e" +checksum = "b1dbb157e65f10dbe01f729339c06d239120221c9ad9fa0ba8408c4cc18ecf21" dependencies = [ "atoi", - "base64 0.21.7", + "base64 0.22.1", "bigdecimal", "bitflags 2.6.0", "byteorder", @@ -4063,9 +4117,9 @@ dependencies = [ [[package]] name = "sqlx-sqlite" -version = "0.7.4" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b244ef0a8414da0bed4bb1910426e890b19e5e9bccc27ada6b797d05c55ae0aa" +checksum = "9b2cdd83c008a622d94499c0006d8ee5f821f36c89b7d625c900e5dc30b5c5ee" dependencies = [ "atoi", "chrono", @@ -4079,11 +4133,11 @@ dependencies = [ "log", "percent-encoding", "serde", + "serde_urlencoded", "sqlx-core", "time", "tracing", "url", - "urlencoding", "uuid", ] @@ -4181,6 +4235,12 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a7065abeca94b6a8a577f9bd45aa0867a2238b74e8eb67cf10d492bc39351394" +[[package]] +name = "tagptr" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b2093cf4c8eb1e67749a6762251bc9cd836b6fc171623bd0a9d324d37af2417" + [[package]] name = "tap" version = "1.0.1" @@ -4492,6 +4552,18 @@ dependencies = [ "tracing-core", ] +[[package]] +name = "tracing-appender" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3566e8ce28cc0a3fe42519fc80e6b4c943cc4c8cef275620eb8dac2d3d4e06cf" +dependencies = [ + "crossbeam-channel", + "thiserror", + "time", + "tracing-subscriber", +] + [[package]] name = "tracing-attributes" version = "0.1.27" @@ -4555,6 +4627,12 @@ dependencies = [ "tracing-serde", ] +[[package]] +name = "triomphe" +version = "0.1.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "859eb650cfee7434994602c3a68b25d77ad9e68c8a6cd491616ef86661382eb3" + [[package]] name = "try-lock" version = "0.2.5" @@ -4706,12 +4784,6 @@ dependencies = [ "percent-encoding", ] -[[package]] -name = "urlencoding" -version = "2.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "daf8dba3b7eb870caf1ddeed7bc9d2a049f3cfdfae7cb521b087cc33ae4c49da" - [[package]] name = "utf8-width" version = "0.1.7" diff --git a/examples/loco_example/Cargo.toml b/examples/loco_example/Cargo.toml index ad3e3a46..7b371f66 100644 --- a/examples/loco_example/Cargo.toml +++ b/examples/loco_example/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" [dependencies] -loco-rs = { version = "0.4" } +loco-rs = { version = "0.7" } migration = { path = "migration" } serde = { version = "1", features = ["derive"] } @@ -43,9 +43,10 @@ required-features = [] [dev-dependencies] serial_test = "2.0.0" rstest = "0.18.2" -loco-rs = { version = "0.4", features = ["testing"] } +loco-rs = { version = "0.7", features = ["testing"] } insta = { version = "1.34.0", features = ["redactions", "yaml", "filters"] } [patch.crates-io] sea-orm = { path = "../../" } sea-orm-migration = { path = "../../sea-orm-migration" } +loco-rs = { git = "https://github.com/SeaQL/sea-orm" } diff --git a/examples/loco_example/migration/Cargo.toml b/examples/loco_example/migration/Cargo.toml index 8b943015..ec0a252e 100644 --- a/examples/loco_example/migration/Cargo.toml +++ b/examples/loco_example/migration/Cargo.toml @@ -10,7 +10,7 @@ path = "src/lib.rs" [dependencies] async-std = { version = "1", features = ["attributes", "tokio1"] } -loco-rs = { version = "0.4" } +loco-rs = { version = "0.7" } [dependencies.sea-orm-migration] path = "../../../sea-orm-migration" # remove this line in your own project diff --git a/examples/loco_seaography/Cargo.toml b/examples/loco_seaography/Cargo.toml index 85dab52d..977ff7a0 100644 --- a/examples/loco_seaography/Cargo.toml +++ b/examples/loco_seaography/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" [dependencies] -loco-rs = { version = "0.4.0" } +loco-rs = { version = "0.7.0" } migration = { path = "migration" } serde = { version = "1", features = ["derive"] } @@ -50,9 +50,10 @@ required-features = [] [dev-dependencies] serial_test = "2.0.0" rstest = "0.18.2" -loco-rs = { version = "0.4.0", features = ["testing"] } +loco-rs = { version = "0.7.0", features = ["testing"] } insta = { version = "1.34.0", features = ["redactions", "yaml", "filters"] } [patch.crates-io] sea-orm = { path = "../../" } sea-orm-migration = { path = "../../sea-orm-migration" } +loco-rs = { git = "https://github.com/SeaQL/sea-orm" } diff --git a/examples/loco_seaography/migration/Cargo.toml b/examples/loco_seaography/migration/Cargo.toml index 2ace6bf9..cb4e8bd2 100644 --- a/examples/loco_seaography/migration/Cargo.toml +++ b/examples/loco_seaography/migration/Cargo.toml @@ -10,7 +10,7 @@ path = "src/lib.rs" [dependencies] async-std = { version = "1", features = ["attributes", "tokio1"] } -loco-rs = { version = "0.4.0" } +loco-rs = { version = "0.7.0" } [dependencies.sea-orm-migration] path = "../../../sea-orm-migration" # remove this line in your own project diff --git a/examples/loco_starter/Cargo.toml b/examples/loco_starter/Cargo.toml index 048c6337..b5cc0af0 100644 --- a/examples/loco_starter/Cargo.toml +++ b/examples/loco_starter/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" [dependencies] -loco-rs = { version = "0.4.0" } +loco-rs = { version = "0.7.0" } migration = { path = "migration" } serde = { version = "1", features = ["derive"] } @@ -44,9 +44,10 @@ required-features = [] [dev-dependencies] serial_test = "2.0.0" rstest = "0.18.2" -loco-rs = { version = "0.4.0", features = ["testing"] } +loco-rs = { version = "0.7.0", features = ["testing"] } insta = { version = "1.34.0", features = ["redactions", "yaml", "filters"] } [patch.crates-io] sea-orm = { path = "../../" } sea-orm-migration = { path = "../../sea-orm-migration" } +loco-rs = { git = "https://github.com/SeaQL/sea-orm" } diff --git a/examples/loco_starter/migration/Cargo.toml b/examples/loco_starter/migration/Cargo.toml index 2ace6bf9..cb4e8bd2 100644 --- a/examples/loco_starter/migration/Cargo.toml +++ b/examples/loco_starter/migration/Cargo.toml @@ -10,7 +10,7 @@ path = "src/lib.rs" [dependencies] async-std = { version = "1", features = ["attributes", "tokio1"] } -loco-rs = { version = "0.4.0" } +loco-rs = { version = "0.7.0" } [dependencies.sea-orm-migration] path = "../../../sea-orm-migration" # remove this line in your own project diff --git a/examples/react_admin/backend/Cargo.toml b/examples/react_admin/backend/Cargo.toml index 490b59b4..15996e39 100644 --- a/examples/react_admin/backend/Cargo.toml +++ b/examples/react_admin/backend/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" [dependencies] -loco-rs = { version = "0.4.0" } +loco-rs = { version = "0.7.0" } migration = { path = "migration" } serde = { version = "1", features = ["derive"] } @@ -50,9 +50,10 @@ required-features = [] [dev-dependencies] serial_test = "2.0.0" rstest = "0.18.2" -loco-rs = { version = "0.4.0", features = ["testing"] } +loco-rs = { version = "0.7.0", features = ["testing"] } insta = { version = "1.34.0", features = ["redactions", "yaml", "filters"] } [patch.crates-io] sea-orm = { path = "../../../" } sea-orm-migration = { path = "../../../sea-orm-migration" } +loco-rs = { git = "https://github.com/SeaQL/sea-orm" } diff --git a/examples/react_admin/backend/migration/Cargo.toml b/examples/react_admin/backend/migration/Cargo.toml index 9e6f3567..bf593260 100644 --- a/examples/react_admin/backend/migration/Cargo.toml +++ b/examples/react_admin/backend/migration/Cargo.toml @@ -10,7 +10,7 @@ path = "src/lib.rs" [dependencies] async-std = { version = "1", features = ["attributes", "tokio1"] } -loco-rs = { version = "0.4.0" } +loco-rs = { version = "0.7.0" } [dependencies.sea-orm-migration] path = "../../../../sea-orm-migration" # remove this line in your own project