solana-packet 2.1.4

The definition of a Solana network packet.
Documentation
[dependencies.bincode]
optional = true
version = "1.3.3"

[dependencies.bitflags]
version = "2.6.0"

[dependencies.cfg_eval]
optional = true
version = "0.1.2"

[dependencies.serde]
optional = true
version = "1.0.213"

[dependencies.serde_derive]
optional = true
version = "1.0.213"

[dependencies.serde_with]
default-features = false
features = ["macros"]
optional = true
version = "3.11.0"

[dependencies.solana-frozen-abi]
features = ["frozen-abi"]
optional = true
version = "=2.1.4"

[dependencies.solana-frozen-abi-macro]
features = ["frozen-abi"]
optional = true
version = "=2.1.4"

[dev-dependencies.static_assertions]
version = "1.1.0"

[features]
bincode = ["dep:bincode", "serde"]
dev-context-only-utils = ["bincode"]
frozen-abi = ["dep:solana-frozen-abi", "dep:solana-frozen-abi-macro"]
serde = ["bitflags/serde", "dep:cfg_eval", "dep:serde", "dep:serde_derive", "dep:serde_with"]

[lib]
name = "solana_packet"
path = "src/lib.rs"

[lints.rust.unexpected_cfgs]
check-cfg = ['cfg(target_os, values("solana"))', 'cfg(feature, values("frozen-abi", "no-entrypoint"))']
level = "warn"
priority = 0

[package]
authors = ["Anza Maintainers <maintainers@anza.xyz>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "The definition of a Solana network packet."
documentation = "https://docs.rs/solana-packet"
edition = "2021"
homepage = "https://anza.xyz/"
license = "Apache-2.0"
name = "solana-packet"
readme = false
repository = "https://github.com/anza-xyz/agave"
version = "2.1.4"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg=docsrs"]
targets = ["x86_64-unknown-linux-gnu"]