Cargo Features

solana-runtime has no features set by default.

[dependencies]
solana-runtime = { version = "2.1.1", features = ["dev-context-only-utils", "frozen-abi"] }
dev-context-only-utils

Enables dev-context-only-utils of solana-svm

Affects bank::HashOverrides, bank::BankTestConfig, bank_utils::setup_bank_and_vote_pubkeys_for_tests, snapshot_utils::verify_snapshot_archive, snapshot_utils::create_tmp_accounts_dir_for_tests

frozen-abi

Enables solana-frozen-abi and solana-frozen-abi-macro, frozen-abi of solana-accounts-db, solana-compute-budget, and solana-cost-model, frozen-abi of solana-perf, solana-program-runtime, solana-sdk, solana-svm, solana-version, solana-vote, and solana-vote-program