diff --git a/examples/handlebars_templates/Cargo.toml b/examples/handlebars_templates/Cargo.toml index d11180a3..ec1ef547 100644 --- a/examples/handlebars_templates/Cargo.toml +++ b/examples/handlebars_templates/Cargo.toml @@ -7,9 +7,9 @@ workspace = "../../" [dependencies] rocket = { path = "../../lib" } rocket_codegen = { path = "../../codegen" } -serde = "*" -serde_derive = "*" -serde_json = "*" +serde = "0.8" +serde_derive = "0.8" +serde_json = "0.8" [dependencies.rocket_contrib] path = "../../contrib" diff --git a/examples/json/Cargo.toml b/examples/json/Cargo.toml index af4edb1b..a8ef8ad3 100644 --- a/examples/json/Cargo.toml +++ b/examples/json/Cargo.toml @@ -7,9 +7,9 @@ workspace = "../../" [dependencies] rocket = { path = "../../lib" } rocket_codegen = { path = "../../codegen" } -serde = "*" -serde_json = "*" -serde_derive = "*" +serde = "0.8" +serde_json = "0.8" +serde_derive = "0.8" lazy_static = "*" [dependencies.rocket_contrib] diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 7b76b3e0..0abe953b 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -17,13 +17,10 @@ license = "MIT/Apache-2.0" term-painter = "^0.2" log = "^0.3" url = "^1" -toml = "^0.2" +hyper = { version = "=0.9.14", default-features = false } +toml = { version = "^0.2", default-features = false } # cookie = "^0.3" -[dependencies.hyper] -version = "^0.9" -default-features = false - [dev-dependencies] lazy_static = "0.2" rocket_codegen = { version = "0.1.5", path = "../codegen" }