#spans #serde

no-std serde_spanned

Serde-compatible spanned Value

15 releases (5 stable)

1.0.4 Dec 17, 2025
1.0.3 Oct 9, 2025
1.0.2 Sep 18, 2025
1.0.0 Jul 8, 2025
0.6.1 Jan 30, 2023

#750 in Encoding

Download history 4105109/week @ 2025-11-17 3293163/week @ 2025-11-24 3765366/week @ 2025-12-01 4217953/week @ 2025-12-08 4154283/week @ 2025-12-15 2499727/week @ 2025-12-22 2476648/week @ 2025-12-29 4278348/week @ 2026-01-05 4829171/week @ 2026-01-12 5044343/week @ 2026-01-19 5212018/week @ 2026-01-26 5511803/week @ 2026-02-02 5632860/week @ 2026-02-09 5506613/week @ 2026-02-16 6265667/week @ 2026-02-23 7273206/week @ 2026-03-02

25,106,917 downloads per month
Used in 21,425 crates (13 directly)

MIT/Apache

20KB
257 lines

serde_spanned

Documentation License Crates Status

A serde-compatible spanned Value

This allows capturing the location, in bytes, for a value in the original parsed document for compatible deserializers.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual-licensed as above, without any additional terms or conditions.

Dependencies

~115KB