solana-packet 2.1.4

The definition of a Solana network packet.
Documentation
[package]
name = "solana-packet"
description = "The definition of a Solana network packet."
documentation = "https://docs.rs/solana-packet"
version = { workspace = true }
authors = { workspace = true }
repository = { workspace = true }
homepage = { workspace = true }
license = { workspace = true }
edition = { workspace = true }

[dependencies]
bincode = { workspace = true, optional = true }
bitflags = { workspace = true }
cfg_eval = { workspace = true, optional = true }
serde = { workspace = true, optional = true }
serde_derive = { workspace = true, optional = true }
serde_with = { workspace = true, optional = true, features = ["macros"] }
solana-frozen-abi = { workspace = true, optional = true, features = ["frozen-abi"] }
solana-frozen-abi-macro = { workspace = true, optional = true, features = ["frozen-abi"] }

[dev-dependencies]
solana-packet = { path = ".", features = ["dev-context-only-utils"] }
static_assertions = { workspace = true }

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

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

[lints]
workspace = true