Cargo Features
[dependencies]
bs-switchboard-solana = { version = "0.0.0", default-features = false, features = ["all", "no-entrypoint", "cpi", "secrets", "ipfs"] }
- default = cpi
-
The
cpi
feature is set by default wheneverbs-switchboard-solana
is added without
somewhere in the dependency tree.default-features = false - all = ipfs, secrets
- no-entrypoint cpi
- cpi default = no-entrypoint
- secrets all? = rand, reqwest, rsa
- ipfs all?
-
Enables ipfs of switchboard-common
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.
- rand not solana secrets?
- reqwest not solana secrets?
-
Enables reqwest ^0.11
- rsa not solana secrets?
-
Enables rsa ^0.5.0