#blockchain #cardano #deserialize #haskell #alonzo #along-with-utility-function

cardano-serialization-lib

(De)serialization functions for the Cardano blockchain along with related utility functions

126 releases (48 stable)

15.0.3 Nov 13, 2025
15.0.1 Aug 27, 2025
15.0.0 Jul 14, 2025
14.1.2 May 15, 2025
5.0.0 Jan 12, 2021

#13 in #cardano

Download history 506/week @ 2025-11-08 280/week @ 2025-11-15 331/week @ 2025-11-22 313/week @ 2025-11-29 387/week @ 2025-12-06 216/week @ 2025-12-13 65/week @ 2025-12-20 47/week @ 2025-12-27 254/week @ 2026-01-03 140/week @ 2026-01-10 281/week @ 2026-01-17 256/week @ 2026-01-24 263/week @ 2026-01-31 203/week @ 2026-02-07 501/week @ 2026-02-14 272/week @ 2026-02-21

1,283 downloads per month
Used in 11 crates (5 directly)

MIT license

2.5MB
49K SLoC

Cardano Serialization Lib

This is a library, written in Rust, for serialization & deserialization of data structures used in Cardano's Haskell implementation of Alonzo along with useful utility functions.

NPM packages
NPM packages with GC support

Note: This package uses weak references flag from wasm-bindgen. It uses FinalizationRegistry under the hood to automatically call "free" for each CSL struct when it is no longer needed. However, use this feature with caution as it may have unpredictable behaviors.

Rust crates
Mobile bindings

Documentation

You can find documentation here

Dependencies

~5.5–7.5MB
~141K SLoC