Re-exports

pub use ic_cdk::export::candid;
pub use ic_kit_macros as macros;

Modules

APIs/Methods to work with the Internet Computer.

ic_cdk APIs to be used with ic-kit-macros only, please don’t use this directly we may decide to change it anytime and break compatability.

The type definition of common canisters on the Internet Computer.

mock_principalsDeprecated

A set of mock principal IDs useful for testing.

The APIs for StableReader/StableWriter.

Internal storage abstraction for singletons.

Structs

Can be used to represent a canister and different method on the canister.

A method that is constructed using nested calls.

A context that could be used to fake/control the behaviour of the IC when testing the canister.

Generic ID on Internet Computer.

A method which uses Rust closures to handle the calls, it accepts every call.

A possible error value when dealing with stable memory.

A watcher can be used to inspect the calls made in a call.

Enums

Rejection code from calling another canister.

Traits

Anything that could be used to simulate a inter-canister call.

Functions

get_contextDeprecated

Return the IC context depending on the build target.

Sets a custom panic hook, uses debug.trace

Type Definitions

The result of a Call.

Attribute Macros

async_std::test to be used for async tests when not targeting WASM. Enables an async test function.