9 releases
| new 0.2.0-alpha.2 | Feb 12, 2026 |
|---|---|
| 0.2.0-alpha.1 | Feb 10, 2026 |
| 0.2.0-alpha.0 | Jan 29, 2026 |
| 0.1.10 | Dec 9, 2025 |
| 0.1.6 | Nov 28, 2025 |
#188 in Magic Beans
185 downloads per month
Used in 26 crates
(17 directly)
140KB
2K
SLoC
Collection of all runtime features.
Steps to add a new feature are outlined below. Note that these steps only cover the process of getting a feature into the core Solana code.
- For features that are unambiguously good (ie bug fixes), these steps are sufficient.
- For features that should go up for community vote (ie fee structure changes), more information on the additional steps to follow can be found at: https://spl.solana.com/feature-proposal#feature-proposal-life-cycle
- Generate a new keypair with
solana-keygen new --outfile feature.json --no-passphrase- Keypairs should be held by core contributors only. If you're a non-core contributor going through these steps, the PR process will facilitate a keypair holder being picked. That person will generate the keypair, provide pubkey for PR, and ultimately enable the feature.
- Add a public module for the feature, specifying keypair pubkey as the id with
rialo_s_pubkey::declare_id!()within the module. Additionally, add an entry toFEATURE_NAMESmap. - Add desired logic to check for and switch on feature availability.
For more information on how features are picked up, see comments for Feature.
Dependencies
~1.7–3.5MB
~68K SLoC