Run the following Cargo command in your project directory:
bash
cargo add switchboard-common
Or add the following line to your Cargo.toml:
toml
[dependencies]
switchboard-common = "0.8.8"
The following features can be enabled with this crate:
| Feature | Description |
| -------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| client
| Enable functionality for using Switchboard off-chain in a client such as enabling the Gramine runtime and other SGX related feature sets. |
| solana
| Enable features specific to Solana including the SolanaFunctionEnvironment struct |