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