[package]
name = "solana-message"
description = "Solana transaction message types."
documentation = "https://docs.rs/solana-message"
version = "0.0.3"
authors = { workspace = true }
repository = { workspace = true }
homepage = { workspace = true }
license = { workspace = true }
edition = { workspace = true }
[dependencies]
bincode = { workspace = true, optional = true }
blake3 = { workspace = true, features = ["traits-preview"], optional = true }
lazy_static = { workspace = true }
serde = { workspace = true, optional = true }
serde_derive = { workspace = true, optional = true }
solana-bincode = { version = "2.1.0", optional = true }
solana-frozen-abi = { version = "2.1.0", optional = true }
solana-frozen-abi-macro = { version = "2.1.0", optional = true }
solana-hash = { version = "2.1.0" }
solana-instruction = { workspace = true, features = ["std"] }
solana-logger = { version = "2.1.0", optional = true }
solana-pubkey = { version = "2.1.0" }
solana-sanitize = { version = "2.1.0" }
solana-sdk-ids = { workspace = true }
solana-short-vec = { version = "2.1.0", optional = true }
solana-system-interface = { workspace = true, optional = true, features = [
"bincode",
] }
solana-transaction-error = { workspace = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = { workspace = true }
[dev-dependencies]
anyhow = { workspace = true }
bitflags = { workspace = true }
borsh = { workspace = true }
itertools = { workspace = true }
serde_json = { workspace = true }
solana-message = { path = ".", features = ["dev-context-only-utils"] }
solana-nonce = { workspace = true }
solana-program = { path = "../program" }
solana-sha256-hasher = { version = "2.1.0" }
solana-sysvar = { workspace = true }
static_assertions = { workspace = true }
[features]
bincode = [
"dep:bincode",
"dep:solana-bincode",
"dep:solana-system-interface",
"serde",
]
blake3 = ["dep:blake3"]
dev-context-only-utils = ["bincode", "blake3"]
frozen-abi = [
"dep:solana-frozen-abi",
"dep:solana-frozen-abi-macro",
"dep:solana-logger",
"solana-hash/frozen-abi",
"solana-pubkey/frozen-abi",
]
serde = [
"dep:serde",
"dep:serde_derive",
"dep:solana-short-vec",
"solana-hash/serde",
"solana-pubkey/serde",
]
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
all-features = true
rustdoc-args = ["--cfg=docsrs"]
[lints]
workspace = true