Cargo Features

[dependencies]
switchboard-solana = { version = "0.29.107", default-features = false, features = ["all", "no-entrypoint", "cpi", "secrets", "macros", "ipfs", "all-features", "client", "pid_override"] }
default = cpi

The cpi feature is set by default whenever switchboard-solana is added without default-features = false somewhere in the dependency tree.

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
client = anchor-client, arc-swap, base64, bincode, chrono, cron, dashmap, futures, hex, serde, serde_json, sgx-quote, sha2, solana-account-decoder, solana-client, tokio, tokio-util, url

Enables client of switchboard-common

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?
arc-swap client?
anchor-client client?

Enables anchor-client ^0.29.0

base64 client?

Enables base64 ^0.21.4

bincode client?
chrono client?
cron client?
dashmap client?
futures client?
hex client?
serde client?
serde_json client?
sgx-quote client?
sha2 client?
solana-client client?
solana-account-decoder client?
tokio client?
tokio-util client?
url client?
aes-gcm secrets?

Enables aes-gcm

Secrets Dependencies

rand secrets?
reqwest secrets?

Enables reqwest ^0.11

rsa secrets?

Enables rsa ^0.5.0