solana_packet
Run this command in a terminal, in your project's directory:
cargo add solana-packet
To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:
Cargo.toml
[dependencies]
solana-packet = "4.1.0"
The solana_packet library will be automatically available globally. Read the solana_packet library documentation.
Back to the crate overview.