Update sea orm rocket (#2431)

* Update sea-orm-rocket dependencies

* Update rocket example dependencies

---------

Co-authored-by: Frederik Terstappen <freterstappen+gitlab@gmail.com>
This commit is contained in:
Frederik Terstappen 2024-12-24 14:49:28 +01:00 committed by GitHub
parent 72c6fc8931
commit 13a3de6633
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
11 changed files with 30 additions and 26 deletions

View File

@ -11,12 +11,12 @@ async-trait = { version = "0.1" }
rocket-example-service = { path = "../service" }
futures = { version = "0.3" }
futures-util = { version = "0.3" }
rocket = { version = "0.5.0", features = ["json"] }
rocket_dyn_templates = { version = "0.1.0-rc.1", features = ["tera"] }
rocket = { version = "0.5", features = ["json"] }
rocket_dyn_templates = { version = "0.2", features = ["tera"] }
serde_json = { version = "1" }
entity = { path = "../entity" }
migration = { path = "../migration" }
tokio = "1.29.0"
tokio = "1.41"
[dependencies.sea-orm-rocket]
path = "../../../sea-orm-rocket/lib" # remove this line in your own project and uncomment the following line

View File

@ -9,7 +9,7 @@ name = "entity"
path = "src/lib.rs"
[dependencies]
rocket = { version = "0.5.0", features = ["json"] }
rocket = { version = "0.5", features = ["json"] }
[dependencies.sea-orm]
path = "../../../" # remove this line in your own project

View File

@ -9,7 +9,7 @@ name = "migration"
path = "src/lib.rs"
[dependencies]
rocket = { version = "0.5.0" }
rocket = { version = "0.5" }
async-std = { version = "1", features = ["attributes", "tokio1"] }
[dependencies.sea-orm-migration]

View File

@ -19,7 +19,7 @@ features = [
]
[dev-dependencies]
tokio = "1.20.0"
tokio = "1.41"
[features]
mock = ["sea-orm/mock"]

View File

@ -11,14 +11,18 @@ async-trait = { version = "0.1" }
rocket-okapi-example-service = { path = "../service" }
futures = { version = "0.3" }
futures-util = { version = "0.3" }
rocket = { version = "0.5.0", features = ["json"] }
rocket_cors = "0.6.0"
rocket_dyn_templates = { version = "0.1.0-rc.1", features = ["tera"] }
rocket_okapi = { version = "0.8.0", features = ["swagger", "rapidoc", "rocket_db_pools"] }
rocket = { version = "0.5", features = ["json"] }
rocket_cors = "0.6"
rocket_dyn_templates = { version = "0.2", features = ["tera"] }
rocket_okapi = { version = "0.9", features = [
"swagger",
"rapidoc",
"rocket_db_pools",
] }
serde_json = { version = "1" }
entity = { path = "../entity" }
migration = { path = "../migration" }
tokio = "1.20.0"
tokio = "1.41"
serde = "1.0"
dto = { path = "../dto" }

View File

@ -9,10 +9,10 @@ name = "dto"
path = "src/lib.rs"
[dependencies]
rocket = { version = "0.5.0", features = ["json"] }
rocket = { version = "0.5", features = ["json"] }
[dependencies.entity]
path = "../entity"
[dependencies.rocket_okapi]
version = "0.8.0"
version = "0.9"

View File

@ -9,11 +9,11 @@ name = "entity"
path = "src/lib.rs"
[dependencies]
rocket = { version = "0.5.0", features = ["json"] }
rocket = { version = "0.5", features = ["json"] }
[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "~1.1.3" # sea-orm version
[dependencies.rocket_okapi]
version = "0.8.0"
version = "0.9"

View File

@ -9,7 +9,7 @@ name = "migration"
path = "src/lib.rs"
[dependencies]
rocket = { version = "0.5.0" }
rocket = { version = "0.5" }
async-std = { version = "1", features = ["attributes", "tokio1"] }
[dependencies.sea-orm-migration]

View File

@ -13,13 +13,13 @@ path = "../../../" # remove this line in your own project
version = "~1.1.3" # sea-orm version
features = [
"runtime-tokio-native-tls",
# "sqlx-postgres",
# "sqlx-mysql",
# "sqlx-postgres",
# "sqlx-mysql",
"sqlx-sqlite",
]
[dev-dependencies]
tokio = "1.20.0"
tokio = "1.41"
[features]
mock = ["sea-orm/mock"]

View File

@ -13,10 +13,10 @@ edition = "2021"
proc-macro = true
[dependencies]
devise = "0.3"
devise = "0.4"
quote = "1"
[dev-dependencies]
rocket = { version = "0.5.0", default-features = false }
trybuild = "1.0"
rocket = { version = "0.5", default-features = false }
trybuild = "1"
version_check = "0.9"

View File

@ -13,19 +13,19 @@ edition = "2021"
all-features = true
[dependencies.rocket]
version = "0.5.0"
version = "0.5"
default-features = false
[dependencies.sea-orm-rocket-codegen]
path = "../codegen"
version = "0.5.1"
version = "0.5"
[dependencies.rocket_okapi]
version = "0.8.0"
version = "0.9"
default-features = false
optional = true
[dev-dependencies.rocket]
version = "0.5.0"
version = "0.5"
default-features = false
features = ["json"]