diff --git a/examples/rocket_example/api/Cargo.toml b/examples/rocket_example/api/Cargo.toml index 1a88308f..2756af20 100644 --- a/examples/rocket_example/api/Cargo.toml +++ b/examples/rocket_example/api/Cargo.toml @@ -23,5 +23,5 @@ migration = { path = "../migration" } tokio = "1.20.0" [dependencies.sea-orm-rocket] -path = "../../../sea-orm-rocket/lib" # remove this line in your own project and use the git line -# git = "https://github.com/SeaQL/sea-orm" +path = "../../../sea-orm-rocket/lib" # remove this line in your own project and uncomment the following line +# version = "0.5.0" diff --git a/examples/rocket_okapi_example/api/Cargo.toml b/examples/rocket_okapi_example/api/Cargo.toml index 3476fb99..00ecdbaf 100644 --- a/examples/rocket_okapi_example/api/Cargo.toml +++ b/examples/rocket_okapi_example/api/Cargo.toml @@ -25,9 +25,9 @@ serde = "1.0" dto = { path = "../dto" } [dependencies.sea-orm-rocket] -path = "../../../sea-orm-rocket/lib" # remove this line in your own project and use the git line -features = ["rocket_okapi"] #enables rocket_okapi so to have open api features enabled -# git = "https://github.com/SeaQL/sea-orm" +path = "../../../sea-orm-rocket/lib" # remove this line in your own project and use the version line +features = ["rocket_okapi"] # enables rocket_okapi so to have open api features enabled +# version = "0.5.1" [dependencies.rocket_okapi] version = "0.8.0-rc.2" diff --git a/sea-orm-rocket/lib/Cargo.toml b/sea-orm-rocket/lib/Cargo.toml index 48797a65..32402355 100644 --- a/sea-orm-rocket/lib/Cargo.toml +++ b/sea-orm-rocket/lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sea-orm-rocket" -version = "0.5.0" +version = "0.5.1" authors = ["Sergio Benitez ", "Jeb Rosen "] description = "SeaORM Rocket support crate" repository = "https://github.com/SeaQL/sea-orm" @@ -20,12 +20,12 @@ default-features = false path = "../codegen" version = "0.5.0-rc.1" -[dev-dependencies.rocket] -version = "0.5.0-rc.1" -default-features = false -features = ["json"] - [dependencies.rocket_okapi] version = "0.8.0-rc.2" default-features = false -optional = true +optional = true + +[dev-dependencies.rocket] +version = "0.5.0-rc.1" +default-features = false +features = ["json"] \ No newline at end of file