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