whisky_csl/
lib.rs

1//! #whisky-csl
2//!
3//! `whisky-csl` composed of the core serialization logics with the pattern of json-to-transaction, compilable to wasm.
4//! This library is not expected to be imported by Rust developers directly, but rather through the higher level APIs like [`whisky`](../whisky).
5//! The wasm build and utility is mostly exposed in [MeshJS](https://meshjs.dev/).
6//!
7//! ## JS / TS wasm Install
8//!
9//! In case you want the directly out of the box wasm function for your JS / TS project, run the below
10//!
11//! ```sh
12//! # For nodejs package
13//! yarn add @sidan-lab/whisky-csl-nodejs
14//! # For browser package
15//! yarn add @sidan-lab/whisky-csl-browser
16//! ```
17//!
18//! ## APIs
19//!
20//! - The serialization logic documentation at the [builder interface](builder/trait.ITxBuilderCore.html).
21//! - The inline documentation of core json to transaction serialization function is served at [here](core/builder/fn.js_serialize_tx_body.html).
22
23mod constants;
24pub mod tx_builder;
25pub mod tx_parser;
26pub mod utils;
27pub use constants::*;
28pub use tx_builder::*;
29pub use tx_parser::*;
30pub use utils::*;
31
32pub use cardano_serialization_lib as csl;