Cargo Features

solana-rent has no features set by default.

[dependencies]
solana-rent = { version = "2.1.1", features = ["frozen-abi", "serde", "sysvar"] }
frozen-abi

Enables solana-frozen-abi and solana-frozen-abi-macro

serde

Enables serde and serde_derive

sysvar

Enables solana-sysvar-id

Affects solana-rent::sysvar