Crates.io | ic0 |
lib.rs | ic0 |
version | 1.0.0 |
created_at | 2022-10-22 20:19:01.098165+00 |
updated_at | 2025-06-25 17:34:23.976936+00 |
description | Internet Computer System API Binding. |
homepage | |
repository | https://github.com/dfinity/cdk-rs |
max_upload_size | |
id | 694874 |
size | 63,487 |
Internet Computer System API binding.
ic0
is simply a safe Rust translation of the System API as described in the IC interface specification. The unsafe direct imports can be found in the ic0::sys
module.
ic0
keeps in step with the IC interface specification. Particularly, ic0
is directly generated from the system API in that repo.
When interface-spec releases a new version that modify system API:
ic0.txt
in the root of this project;manual_safety_comments.txt
, and add a safety comment for the function;cargo run --example=ic0build
;src/sys.rs
should be updated.