ckb_gen_types/
lib.rs

1//! Provides the generated types for CKB
2
3#![cfg_attr(not(feature = "std"), no_std)]
4
5#[cfg(not(feature = "std"))]
6extern crate alloc;
7
8mod conversion;
9pub mod core;
10mod extension;
11mod generated;
12pub mod prelude;
13pub use generated::packed;
14
15//re-exports
16pub use molecule::bytes;
17
18cfg_if::cfg_if! {
19    if #[cfg(feature = "std")] {
20        #[allow(unused_imports)]
21        use std::{vec, borrow};
22    } else {
23        #[allow(unused_imports)]
24        use alloc::{vec, borrow};
25    }
26}