feat: Migrate to serde-saphyr
Committed / committed (pull_request) Successful in 1m9s
CI / cargo shear (pull_request) Successful in 6m12s
CI / prek (pull_request) Successful in 40m8s
CI / cargo shear (push) Successful in 8m30s
Audit / cargo audit (push) Failing after 13m17s
Release-plz / Release-plz Release (push) Successful in 5m15s
Release-plz / Release-plz PR (push) Failing after 5m34s
CI / prek (push) Successful in 22m43s

Fixes: #30
This commit was merged in pull request #33.
This commit is contained in:
2026-10-21 08:09:25 +02:00
parent 65ed7ab1d2
commit eaa925025d
6 changed files with 83 additions and 7 deletions
Generated
+75
View File
@@ -17,6 +17,17 @@ version = "0.2.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923"
[[package]]
name = "annotate-snippets"
version = "0.12.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b2a5b0a5ab8561c603f16c3b78c24a386b1f70e7fc1b1b1e8c15738828e4a176"
dependencies = [
"anstyle",
"memchr",
"unicode-width",
]
[[package]]
name = "anstream"
version = "1.0.0"
@@ -76,6 +87,12 @@ dependencies = [
"rustversion",
]
[[package]]
name = "arraydeque"
version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7d902e3d592a523def97af8f317b08ce16b7ab854c1985a0c671e6f15cebc236"
[[package]]
name = "async-channel"
version = "2.5.0"
@@ -480,6 +497,7 @@ dependencies = [
"schemars",
"semver",
"serde",
"serde-saphyr",
"serde_json",
"serde_yaml",
"socket-pktinfo",
@@ -655,6 +673,15 @@ dependencies = [
"simdutf8",
]
[[package]]
name = "encoding_rs_io"
version = "0.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fba3fe847045ecff794b9c138293a80db914678c453ad63fbf0c6a9eb6e00b22"
dependencies = [
"encoding_rs",
]
[[package]]
name = "equivalent"
version = "1.0.2"
@@ -1805,6 +1832,16 @@ dependencies = [
"zlib-rs",
]
[[package]]
name = "granit-parser"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "da55feca5d1625466bae068f9fd4b87892caeae70c3fe671ddb0f50d41aebf37"
dependencies = [
"arraydeque",
"smallvec",
]
[[package]]
name = "h2"
version = "0.4.20"
@@ -2432,12 +2469,27 @@ version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "205c45083b6725eb4671392c7c399510ad1498dd0275f1a2e68a70a34ebdf1b1"
[[package]]
name = "nohash-hasher"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451"
[[package]]
name = "nonempty"
version = "0.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9737e026353e5cd0736f98eddae28665118eb6f6600902a7f50db585621fecb6"
[[package]]
name = "num-traits"
version = "0.2.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
dependencies = [
"autocfg",
]
[[package]]
name = "num_enum"
version = "0.7.6"
@@ -3095,6 +3147,23 @@ dependencies = [
"serde_derive",
]
[[package]]
name = "serde-saphyr"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a253edfdea34032da21af84e16fcc94f4c7a6ba237f9f3bc2dbf43cea8535c44"
dependencies = [
"annotate-snippets",
"base64 0.23.1",
"encoding_rs_io",
"granit-parser",
"nohash-hasher",
"num-traits",
"serde_core",
"smallvec",
"zmij",
]
[[package]]
name = "serde_core"
version = "1.0.229"
@@ -3540,6 +3609,12 @@ dependencies = [
"tinyvec",
]
[[package]]
name = "unicode-width"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254"
[[package]]
name = "unsafe-libyaml"
version = "0.2.11"