Cargo Features
ic-canister-kit has no features set by default.
[dependencies]
ic-canister-kit = { version = "1.0.37", features = ["common", "times", "identity", "canister", "number", "token", "http", "ecdsa", "bitcoin", "functions", "call-once", "schedule", "stable", "canister-did", "full", "crc32fast", "hex", "serde_json"] }
- common call-once? canister-did? full?
-
通用工具
serde:
序列化/反序列化框架
Affects
ic-canister-kit::common
… - times full? functions? schedule?
-
时间相关
Enables ic-cdk
Affects
ic-canister-kit::times
… - identity canister? full?
-
身份相关
Enables candid, ic-cdk, ic-ledger-types, and icrc-ledger-types
ic-ledger-types:
token 类型
Affects
ic-canister-kit::identity
… - canister bitcoin? ecdsa? full? http? number? token? = identity
-
罐子相关
Enables serde
Affects
ic-canister-kit::canister
… - number full? = canister
-
数字相关
Enables base32
base32 加密解密
and sha2
hash
Affects
ic-canister-kit::number
… - token full? = canister
-
代币标准
Affects
ic-canister-kit::token
… - http full? = canister
-
http 相关
Affects
ic-canister-kit::http
… - ecdsa full? = canister
-
ecdsa 相关
Affects
ic-canister-kit::ecdsa
… - bitcoin full? = canister
-
bitcoin 相关
Affects
ic-canister-kit::bitcoin
… - functions full? schedule? stable? = times
-
functions 相关
Enables ciborium
序列化/反序列化
and ic-cdk-timers
定时器
Affects
ic-canister-kit::functions
… - call-once full? = common
-
调用一次
Affects
common::once
… - schedule full? = functions, times
-
定时任务
- stable full? = functions
-
稳定内存
Enables ic-stable-structures
持久化内存
Affects
ic-canister-kit::stable
… - canister-did full? = common
-
candid 类型
Affects
ic-canister-kit::candid
… - full = bitcoin, call-once, canister, canister-did, common, ecdsa, functions, http, identity, number, schedule, stable, times, token
Features from optional dependencies
- crc32fast implicit feature
-
Enables crc32fast
循环校验
- hex implicit feature
-
Enables hex
16进制
- serde_json implicit feature
-
Enables serde_json
json