Crate ckb_std

Source
Expand description

ckb-std

§Modules

  • high_level module: defines high level syscall API
  • syscalls module: defines low level CKB syscalls
  • debug! macro: a println! like macro helps debugging
  • entry! macro: defines contract entry point
  • default_alloc! and libc_alloc! macro: defines global allocator for no-std rust

Re-exports§

pub use ckb_types;ckb-types
pub use buddy_alloc;allocator

Modules§

asserts
ckb_constants
dynamic_loadingckb-types
This module supports dynamic loading a library from an on-chain cell.
env
Inspection and manipulation of the program’s environment.
error
high_levelckb-types
since
syscalls

Macros§

assert
assert_eq
assert_ne
debug
debug macro
default_alloc
Defines global allocator
entry
Define program entry point (_start function) and lang items (panic handler, etc.).