Cargo Features

[dependencies]
solana-pubkey = { version = "4.2.0", default-features = false, features = ["std", "alloc", "borsh", "bytemuck", "curve25519", "dev-context-only-utils", "frozen-abi", "rand", "serde", "sha2", "wincode"] }
default = std

The std feature is set by default whenever solana-pubkey is added without default-features = false somewhere in the dependency tree.

std default

Enables atomic and std of solana-address

alloc

Enables alloc of solana-address

borsh

Enables borsh of solana-address

bytemuck

Enables bytemuck of solana-address

curve25519

Enables curve25519 of solana-address

dev-context-only-utils

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

frozen-abi

Enables frozen-abi of solana-address

rand

Enables rand ^0.9.2, rand of solana-address

Affects solana-pubkey::new_rand

serde

Enables serde of solana-address

sha2

Enables sha2 of solana-address

wincode

Enables wincode of solana-address