Rename derive_json_schema feature to impl_json_schema
This commit is contained in:
parent
1c0f626e3f
commit
0ae2d48fba
5 changed files with 20 additions and 18 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue