[package]
name = "solana-nonce"
description = "Solana durable transaction nonces."
documentation = "https://docs.rs/solana-nonce"
version = "0.0.2"
authors = { workspace = true }
repository = { workspace = true }
homepage = { workspace = true }
license = { workspace = true }
edition = { workspace = true }
[dependencies]
serde = { workspace = true, optional = true }
serde_derive = { workspace = true, optional = true }
solana-fee-calculator = { version = "2.1.0" }
solana-hash = { version = "2.1.0", default-features = false }
solana-pubkey = { version = "2.1.0", default-features = false }
solana-sha256-hasher = { version = "2.1.0" }
[dev-dependencies]
bincode = { workspace = true }
solana-nonce = { path = ".", features = ["dev-context-only-utils"] }
[features]
dev-context-only-utils = ["serde"]
serde = [
"dep:serde",
"dep:serde_derive",
"solana-fee-calculator/serde",
"solana-hash/serde",
"solana-pubkey/serde",
]
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
all-features = true
rustdoc-args = ["--cfg=docsrs"]