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 |
#18 in #cardano
631 downloads per month
Used in 10 crates
(5 directly)
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
- NodeJS WASM package
- Browser (chrome/firefox) WASM package
- Browser (pure JS - no WASM) ASM.js package
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.
- NodeJS WASM package with GC
- Browser (chrome/firefox) WASM package with GC
- Browser (pure JS - no WASM) ASM.js package with GC
Rust crates
Mobile bindings
Documentation
You can find documentation here
Dependencies
~5.5–7.5MB
~143K SLoC