Rename derive_json_schema feature to impl_json_schema

This commit is contained in:
Graham Esau 2019-12-27 17:13:32 +00:00
parent 1c0f626e3f
commit 0ae2d48fba
5 changed files with 20 additions and 18 deletions

View file

@ -22,7 +22,9 @@ chrono = { version = "0.4", default-features = false, optional = true }
pretty_assertions = "0.6.1"
[features]
derive_json_schema = []
impl_json_schema = []
# derive_json_schema will be removed in a later version
derive_json_schema = ["impl_json_schema"]
[[test]]
name = "chrono"
@ -30,7 +32,7 @@ required-features = ["chrono"]
[[test]]
name = "schema_for_schema"
required-features = ["derive_json_schema"]
required-features = ["impl_json_schema"]
[package.metadata.docs.rs]
all-features = true