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:
parent
72c6fc8931
commit
13a3de6633
@ -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
|
||||
|
@ -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
|
||||
|
@ -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]
|
||||
|
@ -19,7 +19,7 @@ features = [
|
||||
]
|
||||
|
||||
[dev-dependencies]
|
||||
tokio = "1.20.0"
|
||||
tokio = "1.41"
|
||||
|
||||
[features]
|
||||
mock = ["sea-orm/mock"]
|
||||
|
@ -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" }
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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]
|
||||
|
@ -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"]
|
||||
|
@ -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"
|
||||
|
@ -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"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user