File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed
Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -11,16 +11,11 @@ keywords = ["serde", "wasm"]
1111license = " MIT"
1212
1313[features ]
14- json = [" json_schema " ]
14+ json_schema = []
1515
1616[dependencies ]
1717serde = " ^1.0.0"
18-
19- [dependencies .schemars ]
20- version = " 0.8.8"
21- default-features = false
22- features = [" json_schema" ]
23-
18+ schemars = { version = " 0.8.11" , default-features = false , cfg = " feature = \" json_schema\" " }
2419
2520[dev-dependencies ]
2621serde_derive = " ^1.0.0"
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ impl Ord for Value {
114114}
115115
116116#[ cfg( feature = "json_schema" ) ]
117- impl JsonSchema for Value {
117+ impl schemars :: JsonSchema for Value {
118118 fn schema_name ( ) -> String {
119119 "JSON object" . to_string ( )
120120 }
You can’t perform that action at this time.
0 commit comments