Update dependency

This commit is contained in:
Billy Chan 2024-05-28 15:54:28 +08:00
parent 387d47b105
commit a2f8f68d93
No known key found for this signature in database
GPG Key ID: 45461E52F22E0279
5 changed files with 318 additions and 494 deletions

View File

@ -1128,17 +1128,6 @@ dependencies = [
"serde", "serde",
] ]
[[package]]
name = "derivative"
version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b"
dependencies = [
"proc-macro2",
"quote",
"syn 1.0.109",
]
[[package]] [[package]]
name = "deunicode" name = "deunicode"
version = "1.4.4" version = "1.4.4"
@ -2177,9 +2166,9 @@ dependencies = [
[[package]] [[package]]
name = "loco-rs" name = "loco-rs"
version = "0.2.3" version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e3ebffd061e690e450ec380ae7c40263fdd898e18c92da475ec14179f7ff2ddf" checksum = "b9cb93effcc77153e538b4ba3bba72b0c6ffe6b862c47e986fc2aa2684586844"
dependencies = [ dependencies = [
"argon2", "argon2",
"async-trait", "async-trait",
@ -2205,65 +2194,14 @@ dependencies = [
"lazy_static", "lazy_static",
"lettre", "lettre",
"mime", "mime",
"rand",
"regex",
"requestty",
"rrgen",
"rusty-sidekiq",
"sea-orm 0.12.15",
"sea-orm-migration 0.12.15",
"serde",
"serde_json",
"serde_variant",
"serde_yaml",
"tera",
"thiserror",
"tokio",
"tower",
"tower-http",
"tracing",
"tracing-subscriber",
"uuid",
"validator",
]
[[package]]
name = "loco-rs"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b9cb93effcc77153e538b4ba3bba72b0c6ffe6b862c47e986fc2aa2684586844"
dependencies = [
"argon2",
"async-trait",
"axum",
"axum-extra",
"backtrace_printer",
"bb8",
"byte-unit",
"bytes",
"cargo_metadata",
"cfg-if",
"chrono",
"clap",
"colored",
"duct",
"eyre",
"fs-err",
"futures-util",
"hyper",
"include_dir",
"jsonwebtoken",
"lazy_static",
"lettre",
"mime",
"object_store", "object_store",
"rand", "rand",
"regex", "regex",
"requestty", "requestty",
"rrgen", "rrgen",
"rusty-sidekiq", "rusty-sidekiq",
"sea-orm 1.0.0-rc.3", "sea-orm",
"sea-orm-migration 1.0.0-rc.3", "sea-orm-migration",
"serde", "serde",
"serde_json", "serde_json",
"serde_variant", "serde_variant",
@ -2324,8 +2262,8 @@ name = "migration"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"async-std", "async-std",
"loco-rs 0.4.0", "loco-rs",
"sea-orm-migration 1.0.0-rc.3", "sea-orm-migration",
] ]
[[package]] [[package]]
@ -3438,9 +3376,7 @@ dependencies = [
[[package]] [[package]]
name = "sea-orm" name = "sea-orm"
version = "0.12.15" version = "1.0.0-rc.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c8814e37dc25de54398ee62228323657520b7f29713b8e238649385dbe473ee0"
dependencies = [ dependencies = [
"async-stream", "async-stream",
"async-trait", "async-trait",
@ -3450,39 +3386,13 @@ dependencies = [
"log", "log",
"ouroboros", "ouroboros",
"rust_decimal", "rust_decimal",
"sea-orm-macros 0.12.15", "sea-orm-macros",
"sea-query 0.30.7", "sea-query",
"sea-query-binder 0.5.0", "sea-query-binder",
"serde", "serde",
"serde_json", "serde_json",
"sqlx", "sqlx",
"strum 0.25.0", "strum",
"thiserror",
"time",
"tracing",
"url",
"uuid",
]
[[package]]
name = "sea-orm"
version = "1.0.0-rc.3"
dependencies = [
"async-stream",
"async-trait",
"bigdecimal",
"chrono",
"futures",
"log",
"ouroboros",
"rust_decimal",
"sea-orm-macros 1.0.0-rc.3",
"sea-query 0.31.0-rc.6",
"sea-query-binder 0.6.0-rc.2",
"serde",
"serde_json",
"sqlx",
"strum 0.26.2",
"thiserror", "thiserror",
"time", "time",
"tracing", "tracing",
@ -3492,31 +3402,14 @@ dependencies = [
[[package]] [[package]]
name = "sea-orm-cli" name = "sea-orm-cli"
version = "0.12.15" version = "1.0.0-rc.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "620bc560062ae251b1366bde43b3f1508445cab5c2c8cbdb397034638ab1b357"
dependencies = [ dependencies = [
"chrono", "chrono",
"clap", "clap",
"dotenvy", "dotenvy",
"glob", "glob",
"regex", "regex",
"sea-schema 0.14.2", "sea-schema",
"tracing",
"tracing-subscriber",
"url",
]
[[package]]
name = "sea-orm-cli"
version = "1.0.0-rc.3"
dependencies = [
"chrono",
"clap",
"dotenvy",
"glob",
"regex",
"sea-schema 0.15.0-rc.6",
"tracing", "tracing",
"tracing-subscriber", "tracing-subscriber",
"url", "url",
@ -3524,21 +3417,7 @@ dependencies = [
[[package]] [[package]]
name = "sea-orm-macros" name = "sea-orm-macros"
version = "0.12.15" version = "1.0.0-rc.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5e115c6b078e013aa963cc2d38c196c2c40b05f03d0ac872fe06b6e0d5265603"
dependencies = [
"heck 0.4.1",
"proc-macro2",
"quote",
"sea-bae",
"syn 2.0.60",
"unicode-ident",
]
[[package]]
name = "sea-orm-macros"
version = "1.0.0-rc.3"
dependencies = [ dependencies = [
"heck 0.4.1", "heck 0.4.1",
"proc-macro2", "proc-macro2",
@ -3550,54 +3429,19 @@ dependencies = [
[[package]] [[package]]
name = "sea-orm-migration" name = "sea-orm-migration"
version = "0.12.15" version = "1.0.0-rc.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ee8269bc6ff71afd6b78aa4333ac237a69eebd2cdb439036291e64fb4b8db23c"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"clap", "clap",
"dotenvy", "dotenvy",
"futures", "futures",
"sea-orm 0.12.15", "sea-orm",
"sea-orm-cli 0.12.15", "sea-orm-cli",
"sea-schema 0.14.2", "sea-schema",
"tracing", "tracing",
"tracing-subscriber", "tracing-subscriber",
] ]
[[package]]
name = "sea-orm-migration"
version = "1.0.0-rc.3"
dependencies = [
"async-trait",
"clap",
"dotenvy",
"futures",
"sea-orm 1.0.0-rc.3",
"sea-orm-cli 1.0.0-rc.3",
"sea-schema 0.15.0-rc.6",
"tracing",
"tracing-subscriber",
]
[[package]]
name = "sea-query"
version = "0.30.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4166a1e072292d46dc91f31617c2a1cdaf55a8be4b5c9f4bf2ba248e3ac4999b"
dependencies = [
"bigdecimal",
"chrono",
"derivative",
"inherent",
"ordered-float",
"rust_decimal",
"sea-query-derive",
"serde_json",
"time",
"uuid",
]
[[package]] [[package]]
name = "sea-query" name = "sea-query"
version = "0.31.0-rc.6" version = "0.31.0-rc.6"
@ -3616,22 +3460,6 @@ dependencies = [
"uuid", "uuid",
] ]
[[package]]
name = "sea-query-binder"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "36bbb68df92e820e4d5aeb17b4acd5cc8b5d18b2c36a4dd6f4626aabfa7ab1b9"
dependencies = [
"bigdecimal",
"chrono",
"rust_decimal",
"sea-query 0.30.7",
"serde_json",
"sqlx",
"time",
"uuid",
]
[[package]] [[package]]
name = "sea-query-binder" name = "sea-query-binder"
version = "0.6.0-rc.2" version = "0.6.0-rc.2"
@ -3641,7 +3469,7 @@ dependencies = [
"bigdecimal", "bigdecimal",
"chrono", "chrono",
"rust_decimal", "rust_decimal",
"sea-query 0.31.0-rc.6", "sea-query",
"serde_json", "serde_json",
"sqlx", "sqlx",
"time", "time",
@ -3661,17 +3489,6 @@ dependencies = [
"thiserror", "thiserror",
] ]
[[package]]
name = "sea-schema"
version = "0.14.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "30d148608012d25222442d1ebbfafd1228dbc5221baf4ec35596494e27a2394e"
dependencies = [
"futures",
"sea-query 0.30.7",
"sea-schema-derive",
]
[[package]] [[package]]
name = "sea-schema" name = "sea-schema"
version = "0.15.0-rc.6" version = "0.15.0-rc.6"
@ -3679,7 +3496,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "87445dedfebeb9eac9ffe825ac8f867eaeb092633431bc262f8e7cf77eb4ba72" checksum = "87445dedfebeb9eac9ffe825ac8f867eaeb092633431bc262f8e7cf77eb4ba72"
dependencies = [ dependencies = [
"futures", "futures",
"sea-query 0.31.0-rc.6", "sea-query",
"sea-schema-derive", "sea-schema-derive",
] ]
@ -4323,12 +4140,6 @@ version = "0.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
[[package]]
name = "strum"
version = "0.25.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125"
[[package]] [[package]]
name = "strum" name = "strum"
version = "0.26.2" version = "0.26.2"
@ -4535,11 +4346,10 @@ dependencies = [
"eyre", "eyre",
"include_dir", "include_dir",
"insta", "insta",
"loco-rs 0.2.3", "loco-rs",
"loco-rs 0.4.0",
"migration", "migration",
"rstest", "rstest",
"sea-orm 1.0.0-rc.3", "sea-orm",
"serde", "serde",
"serde_json", "serde_json",
"serial_test", "serial_test",

View File

@ -46,8 +46,6 @@ rstest = "0.18.2"
loco-rs = { version = "0.4", features = ["testing"] } loco-rs = { version = "0.4", features = ["testing"] }
insta = { version = "1.34.0", features = ["redactions", "yaml", "filters"] } insta = { version = "1.34.0", features = ["redactions", "yaml", "filters"] }
# This allows us to develop using a local version of sea-orm
# remove this section in your own project
[patch.crates-io] [patch.crates-io]
sea-orm = { path = "../../" } sea-orm = { path = "../../" }
sea-orm-migration = { path = "../../sea-orm-migration" } sea-orm-migration = { path = "../../sea-orm-migration" }

File diff suppressed because it is too large Load Diff

View File

@ -21,18 +21,21 @@ async-trait = "0.1.74"
tracing = "0.1.40" tracing = "0.1.40"
chrono = "0.4" chrono = "0.4"
validator = { version = "0.16" } validator = { version = "0.16" }
sea-orm = { version = "1.0.0-rc.1", features = [
"sqlx-sqlite",
"sqlx-postgres",
"runtime-tokio-rustls",
"macros",
] }
axum = { version = "0.7.1", features = ["multipart"] } axum = { version = "0.7.1", features = ["multipart"] }
include_dir = "0.7" include_dir = "0.7"
uuid = { version = "1.6.0", features = ["v4"] } uuid = { version = "1.6.0", features = ["v4"] }
tracing-subscriber = { version = "0.3.17", features = ["env-filter", "json"] } tracing-subscriber = { version = "0.3.17", features = ["env-filter", "json"] }
[dependencies.sea-orm]
path = "../../" # remove this line in your own project
version = "1.0.0-rc.4" # sea-orm version
features = [
"sqlx-sqlite",
"sqlx-postgres",
"runtime-tokio-rustls",
"macros",
]
[[bin]] [[bin]]
name = "loco_starter-cli" name = "loco_starter-cli"
path = "src/bin/main.rs" path = "src/bin/main.rs"
@ -43,3 +46,7 @@ serial_test = "2.0.0"
rstest = "0.18.2" rstest = "0.18.2"
loco-rs = { version = "0.4.0", features = ["testing"] } loco-rs = { version = "0.4.0", features = ["testing"] }
insta = { version = "1.34.0", features = ["redactions", "yaml", "filters"] } insta = { version = "1.34.0", features = ["redactions", "yaml", "filters"] }
[patch.crates-io]
sea-orm = { path = "../../" }
sea-orm-migration = { path = "../../sea-orm-migration" }

View File

@ -13,7 +13,8 @@ async-std = { version = "1", features = ["attributes", "tokio1"] }
loco-rs = { version = "0.4.0" } loco-rs = { version = "0.4.0" }
[dependencies.sea-orm-migration] [dependencies.sea-orm-migration]
version = "1.0.0-rc.1" path = "../../../sea-orm-migration" # remove this line in your own project
version = "1.0.0-rc.4" # sea-orm-migration version
features = [ features = [
# Enable at least one `ASYNC_RUNTIME` and `DATABASE_DRIVER` feature if you want to run migration via CLI. # 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. # View the list of supported features at https://www.sea-ql.org/SeaORM/docs/install-and-config/database-and-async-runtime.