diff --git a/contrib/Cargo.toml b/contrib/Cargo.toml index 49d6049d..7ba6505f 100644 --- a/contrib/Cargo.toml +++ b/contrib/Cargo.toml @@ -25,7 +25,7 @@ rocket = { version = "0.4.0-dev", path = "../lib/" } log = "0.4" # UUID dependencies. -uuid = { version = "^0.5", optional = true } +uuid = { version = ">= 0.5, <= 0.6", optional = true } # Serialization and templating dependencies. serde = { version = "1.0", optional = true } diff --git a/examples/uuid/Cargo.toml b/examples/uuid/Cargo.toml index 3dd1bed3..bb2619de 100644 --- a/examples/uuid/Cargo.toml +++ b/examples/uuid/Cargo.toml @@ -6,7 +6,7 @@ workspace = "../../" [dependencies] rocket = { path = "../../lib" } rocket_codegen = { path = "../../codegen" } -uuid = "^0.5" +uuid = ">= 0.5, <= 0.6" lazy_static = "1.0" [dependencies.rocket_contrib]