Cargo Features
[dependencies]
ex3-canister-client = { version = "0.17.3", default-features = false, features = ["agent", "canister"] }
- default = canister
-
The
canister
feature is set by default wheneverex3-canister-client
is added without
somewhere in the dependency tree.default-features = false - agent = ic-agent
-
Affects
ex3-canister-client::agent_call_wrapper
… - canister default = ic-cdk
-
Enables ex3-common-error-info
Affects
ex3-canister-client::canister_call_wrapper
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- ic-agent agent?
-
Enables ic-agent ^0.34
- ic-cdk canister
-
Enables ic-cdk ^0.12