Re-exports
pub use ic_cdk::export::candid;pub use ic_cdk_macros as macros;Modules
APIs/Methods to work with the Internet Computer.
The type definition of common canisters on the Internet Computer.
A set of mock principal IDs useful for testing.
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.
A principal describes the security context of an identity, namely any identity that can be authenticated along with a specific role. In the case of the Internet Computer this maps currently to the identities that can be authenticated by a canister. For example, a canister ID is a Principal. So is a user.
A method which uses Rust closures to handle the calls, it accepts every call.
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
Return the IC context depending on the build target.
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.