diff --git a/Cargo.toml b/Cargo.toml index 8fb0bae..effa2b4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,7 +26,7 @@ unstable = [] # for benchmarking [dependencies] serde = { version = "1.0", default-features = false, optional = true } -schemars = { version = "0.8.0", optional = true } +schemars = { version = "<=0.8.3", optional = true } core2 = { version = "0.3.0", optional = true, default_features = false } [dev-dependencies] diff --git a/extended_tests/schemars/Cargo.toml b/extended_tests/schemars/Cargo.toml index c860e76..b204a20 100644 --- a/extended_tests/schemars/Cargo.toml +++ b/extended_tests/schemars/Cargo.toml @@ -12,6 +12,6 @@ features = ['schemars', 'serde'] [dependencies] jsonschema-valid = "^0.4.0" serde = { version = "1.0", default-features = false} -schemars = { version = "0.8.0"} +schemars = { version = "<=0.8.3"} serde_test = "1.0" serde_json = "1.0"