Cargo Features
[dependencies]
arcium-client = { version = "0.1.46", default-features = false, features = ["transactions", "rand"] }
- default = transactions
-
The
transactions
feature is set by default wheneverarcium-client
is added without
somewhere in the dependency tree.default-features = false - transactions default = anchor-client, anchor-spl, const-crypto
-
Affects
arcium-client::instruction
,arcium-client::pda
,arcium-client::state
,arcium-client::transactions
,arcium-client::utils
…
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.
- anchor-client transactions
- anchor-spl transactions
- const-crypto transactions
- rand implicit feature
-
Enables rand ^0.8.5
rand:
Random number generators and other randomness functionality