wf-cdk-bindgen
DISCLAIMER
This is a temporary fork of the ic-cdk-bindgen. Once the necessary changes are propagated into the original project, this crate will no longer be required.
About project
Generate Rust bindings from Candid to make inter-canister calls.
How to use
- Canister project add
ic-cdk-bindgenas a build dependency.
[]
= "0.1"
- Add
build.rsto generate Rust bindings in the source directory with config options.
use ;
- In Canister code,
use counter;
counter.inc.await?