Cargo Features
[dependencies]
switchboard-on-demand = { version = "0.1.17", default-features = false, features = ["no-entrypoint", "cpi", "secrets", "ipfs", "all-features", "pid_override", "client", "devnet"] }
- default = cpi
-
The
cpi
feature is set by default wheneverswitchboard-on-demand
is added without
somewhere in the dependency tree.default-features = false - no-entrypoint all-features? cpi
- cpi default all-features? = no-entrypoint
- secrets all-features? = rand, reqwest, rsa
- ipfs all-features?
-
Enables ipfs of switchboard-common
- all-features = client, cpi, ipfs, no-entrypoint, secrets
- pid_override
- client all-features? = anchor-client, anchor-lang, anchor-spl, reqwest, solana-client, solana-sdk, tokio, tokio-util
-
Enables client of switchboard-common
- devnet
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-lang client?
-
Enables anchor-lang ^0.29.0
- anchor-spl client?
-
Enables anchor-spl ^0.29.0
- anchor-client client?
-
Enables anchor-client ^0.29.0
- solana-client client?
-
Enables solana-client ^1.17.16, <2.0
- solana-sdk client?
-
Enables solana-sdk ^1.17.16, <2.0
- tokio client?
- tokio-util client?
- rand secrets?
- reqwest client? secrets?
-
Enables reqwest ^0.11
- rsa secrets?
-
Enables rsa ^0.5.0