docs.rs failed to build ckb-std-0.2.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
ckb-std-0.15.3
ckb-std
This library contains serveral modules that could help you write CKB contract with Rust.
Usage
- syscalls module: defines CKB syscalls functions
debug!
macro: aprintln!
like macro helps debuggingentry!
macro: defines contract entry pointdefault_alloc!
andlibc_alloc!
macro: defines global allocator
To use libc
global allocator, you must static link libc into the binary, and enable libc
feature in this crate.
Check examples
, tests, docs and this tutorial to learn how to use.
See also ckb-tool which helps you write tests.