1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-03 18:24:05 +02:00

upstream schemars

This commit is contained in:
Robin Appelman 2024-05-06 15:15:23 +02:00
commit c2985d13f2
2 changed files with 11 additions and 13 deletions

18
Cargo.lock generated
View file

@ -951,8 +951,9 @@ dependencies = [
[[package]]
name = "schemars"
version = "0.8.16"
source = "git+https://github.com/icewind1991/schemars?branch=simplify-generated-enum-code#1a82a9f045bc0b1ebd7e9466877ffbb7d45a6eef"
version = "0.8.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0afe01b987fac84253ce8acd5c05af9941975e4dee5b4f2d826b6947be8ec2c7"
dependencies = [
"dyn-clone",
"schemars_derive",
@ -962,13 +963,14 @@ dependencies = [
[[package]]
name = "schemars_derive"
version = "0.8.16"
source = "git+https://github.com/icewind1991/schemars?branch=simplify-generated-enum-code#1a82a9f045bc0b1ebd7e9466877ffbb7d45a6eef"
version = "0.8.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d253e72f060451e9e5615a1686f3cb4ff87c4e70504c79bdab8fb3b010cd4e97"
dependencies = [
"proc-macro2",
"quote",
"serde_derive_internals",
"syn 1.0.109",
"syn 2.0.58",
]
[[package]]
@ -993,13 +995,13 @@ dependencies = [
[[package]]
name = "serde_derive_internals"
version = "0.26.0"
version = "0.29.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "85bf8229e7920a9f636479437026331ce11aa132b4dde37d121944a44d6e5f3c"
checksum = "330f01ce65a3a5fe59a60c82f3c9a024b573b8a6e875bd233fe5f934e71d54e3"
dependencies = [
"proc-macro2",
"quote",
"syn 1.0.109",
"syn 2.0.58",
]
[[package]]

View file

@ -58,7 +58,7 @@ tracing-subscriber = { version = "0.3.18", features = ["env-filter"], optional =
itertools = "0.12.1"
# schema
schemars = { version = "0.8.16", optional = true }
schemars = { version = "0.8.18", optional = true }
# codegen
quote = { version = "1", optional = true }
@ -69,10 +69,6 @@ tempfile = { version = "3", optional = true }
lazy_static = { version = "1", optional = true }
prettyplease = { version = "0.2", optional = true }
[patch.crates-io]
schemars = { git = 'https://github.com/icewind1991/schemars', branch = "simplify-generated-enum-code" }
schemars_derive = { git = 'https://github.com/icewind1991/schemars', branch = "simplify-generated-enum-code" }
[features]
schema = ["schemars", "bitbuffer/schemars"]
trace = ["tracing", "tracing-subscriber"]