112 releases (40 stable)
new 13.2.0 | Nov 14, 2024 |
---|---|
12.1.1 | Oct 4, 2024 |
12.0.0-beta.3 | Jul 29, 2024 |
12.0.0-alpha.25 | Mar 28, 2024 |
5.0.0 | Jan 12, 2021 |
#647 in Magic Beans
1,169 downloads per month
Used in 4 crates
(3 directly)
2MB
48K
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–7.5MB
~137K SLoC