Implement JsonSchema on Either
This commit is contained in:
parent
fd42debc4d
commit
fbd019baae
8 changed files with 58 additions and 4 deletions
|
@ -19,6 +19,7 @@ serde_json = "1.0"
|
|||
|
||||
chrono = { version = "0.4", default-features = false, optional = true }
|
||||
indexmap = { version = "1.2", optional = true }
|
||||
either = { version = "1.3", optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
pretty_assertions = "0.6.1"
|
||||
|
@ -36,6 +37,10 @@ required-features = ["chrono"]
|
|||
name = "indexmap"
|
||||
required-features = ["indexmap"]
|
||||
|
||||
[[test]]
|
||||
name = "either"
|
||||
required-features = ["either"]
|
||||
|
||||
[[test]]
|
||||
name = "schema_for_schema"
|
||||
required-features = ["impl_json_schema"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue