Cargo Features

[dependencies]
sbod-staging = { version = "0.1.2", default-features = false, features = ["all", "no-entrypoint", "cpi", "secrets", "ipfs", "pid_override", "client"] }
default = cpi

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

all = client, cpi, ipfs, no-entrypoint, secrets
no-entrypoint all? cpi
cpi default all? = no-entrypoint
secrets all? = aes-gcm, rand, reqwest, rsa
ipfs all?

Enables ipfs of switchboard-common

pid_override
client all? = anchor-client, reqwest, solana-client, solana-sdk, tokio, tokio-util

Enables client 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.

anchor-client client?

Enables anchor-client ^0.29.0

solana-client client?
solana-sdk client?

Enables solana-sdk >=1.16, <1.18

tokio client?
tokio-util client?
aes-gcm secrets?

Enables aes-gcm

Secrets Dependencies

rand secrets?
reqwest client? secrets?

Enables reqwest ^0.11

rsa secrets?

Enables rsa ^0.5.0