Skip to content

Commit 13a3de6

Browse files
FrTerstappenFrederik Terstappen
and
Frederik Terstappen
authored
Update sea orm rocket (#2431)
* Update sea-orm-rocket dependencies * Update rocket example dependencies --------- Co-authored-by: Frederik Terstappen <[email protected]>
1 parent 72c6fc8 commit 13a3de6

File tree

11 files changed

+30
-26
lines changed

11 files changed

+30
-26
lines changed

examples/rocket_example/api/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ async-trait = { version = "0.1" }
1111
rocket-example-service = { path = "../service" }
1212
futures = { version = "0.3" }
1313
futures-util = { version = "0.3" }
14-
rocket = { version = "0.5.0", features = ["json"] }
15-
rocket_dyn_templates = { version = "0.1.0-rc.1", features = ["tera"] }
14+
rocket = { version = "0.5", features = ["json"] }
15+
rocket_dyn_templates = { version = "0.2", features = ["tera"] }
1616
serde_json = { version = "1" }
1717
entity = { path = "../entity" }
1818
migration = { path = "../migration" }
19-
tokio = "1.29.0"
19+
tokio = "1.41"
2020

2121
[dependencies.sea-orm-rocket]
2222
path = "../../../sea-orm-rocket/lib" # remove this line in your own project and uncomment the following line

examples/rocket_example/entity/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name = "entity"
99
path = "src/lib.rs"
1010

1111
[dependencies]
12-
rocket = { version = "0.5.0", features = ["json"] }
12+
rocket = { version = "0.5", features = ["json"] }
1313

1414
[dependencies.sea-orm]
1515
path = "../../../" # remove this line in your own project

examples/rocket_example/migration/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name = "migration"
99
path = "src/lib.rs"
1010

1111
[dependencies]
12-
rocket = { version = "0.5.0" }
12+
rocket = { version = "0.5" }
1313
async-std = { version = "1", features = ["attributes", "tokio1"] }
1414

1515
[dependencies.sea-orm-migration]

examples/rocket_example/service/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ features = [
1919
]
2020

2121
[dev-dependencies]
22-
tokio = "1.20.0"
22+
tokio = "1.41"
2323

2424
[features]
2525
mock = ["sea-orm/mock"]

examples/rocket_okapi_example/api/Cargo.toml

+9-5
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,18 @@ async-trait = { version = "0.1" }
1111
rocket-okapi-example-service = { path = "../service" }
1212
futures = { version = "0.3" }
1313
futures-util = { version = "0.3" }
14-
rocket = { version = "0.5.0", features = ["json"] }
15-
rocket_cors = "0.6.0"
16-
rocket_dyn_templates = { version = "0.1.0-rc.1", features = ["tera"] }
17-
rocket_okapi = { version = "0.8.0", features = ["swagger", "rapidoc", "rocket_db_pools"] }
14+
rocket = { version = "0.5", features = ["json"] }
15+
rocket_cors = "0.6"
16+
rocket_dyn_templates = { version = "0.2", features = ["tera"] }
17+
rocket_okapi = { version = "0.9", features = [
18+
"swagger",
19+
"rapidoc",
20+
"rocket_db_pools",
21+
] }
1822
serde_json = { version = "1" }
1923
entity = { path = "../entity" }
2024
migration = { path = "../migration" }
21-
tokio = "1.20.0"
25+
tokio = "1.41"
2226
serde = "1.0"
2327
dto = { path = "../dto" }
2428

examples/rocket_okapi_example/dto/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ name = "dto"
99
path = "src/lib.rs"
1010

1111
[dependencies]
12-
rocket = { version = "0.5.0", features = ["json"] }
12+
rocket = { version = "0.5", features = ["json"] }
1313

1414
[dependencies.entity]
1515
path = "../entity"
1616

1717
[dependencies.rocket_okapi]
18-
version = "0.8.0"
18+
version = "0.9"

examples/rocket_okapi_example/entity/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ name = "entity"
99
path = "src/lib.rs"
1010

1111
[dependencies]
12-
rocket = { version = "0.5.0", features = ["json"] }
12+
rocket = { version = "0.5", features = ["json"] }
1313

1414
[dependencies.sea-orm]
1515
path = "../../../" # remove this line in your own project
1616
version = "~1.1.3" # sea-orm version
1717

1818
[dependencies.rocket_okapi]
19-
version = "0.8.0"
19+
version = "0.9"

examples/rocket_okapi_example/migration/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name = "migration"
99
path = "src/lib.rs"
1010

1111
[dependencies]
12-
rocket = { version = "0.5.0" }
12+
rocket = { version = "0.5" }
1313
async-std = { version = "1", features = ["attributes", "tokio1"] }
1414

1515
[dependencies.sea-orm-migration]

examples/rocket_okapi_example/service/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ path = "../../../" # remove this line in your own project
1313
version = "~1.1.3" # sea-orm version
1414
features = [
1515
"runtime-tokio-native-tls",
16-
# "sqlx-postgres",
17-
# "sqlx-mysql",
16+
# "sqlx-postgres",
17+
# "sqlx-mysql",
1818
"sqlx-sqlite",
1919
]
2020

2121
[dev-dependencies]
22-
tokio = "1.20.0"
22+
tokio = "1.41"
2323

2424
[features]
2525
mock = ["sea-orm/mock"]

sea-orm-rocket/codegen/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ edition = "2021"
1313
proc-macro = true
1414

1515
[dependencies]
16-
devise = "0.3"
16+
devise = "0.4"
1717
quote = "1"
1818

1919
[dev-dependencies]
20-
rocket = { version = "0.5.0", default-features = false }
21-
trybuild = "1.0"
20+
rocket = { version = "0.5", default-features = false }
21+
trybuild = "1"
2222
version_check = "0.9"

sea-orm-rocket/lib/Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@ edition = "2021"
1313
all-features = true
1414

1515
[dependencies.rocket]
16-
version = "0.5.0"
16+
version = "0.5"
1717
default-features = false
1818

1919
[dependencies.sea-orm-rocket-codegen]
2020
path = "../codegen"
21-
version = "0.5.1"
21+
version = "0.5"
2222

2323
[dependencies.rocket_okapi]
24-
version = "0.8.0"
24+
version = "0.9"
2525
default-features = false
2626
optional = true
2727

2828
[dev-dependencies.rocket]
29-
version = "0.5.0"
29+
version = "0.5"
3030
default-features = false
3131
features = ["json"]

0 commit comments

Comments
 (0)