[package]
name = "solana-system-program"
description = "Solana System program"
documentation = "https://docs.rs/solana-system-program"
version = { workspace = true }
authors = { workspace = true }
repository = { workspace = true }
homepage = { workspace = true }
license = { workspace = true }
edition = { workspace = true }

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

[lib]
crate-type = ["lib"]
name = "solana_system_program"

[features]
agave-unstable-api = []

[dependencies]
bincode = { workspace = true }
log = { workspace = true }
serde = { workspace = true }
solana-account = { workspace = true }
solana-bincode = { workspace = true }
solana-fee-calculator = { workspace = true }
solana-instruction = { workspace = true }
solana-nonce = { workspace = true, features = ["serde"] }
solana-nonce-account = { workspace = true }
solana-packet = { workspace = true }
solana-program-runtime = { workspace = true }
solana-pubkey = { workspace = true, features = ["sha2"] }
solana-sdk-ids = { workspace = true }
solana-svm-log-collector = { workspace = true }
solana-svm-type-overrides = { workspace = true }
solana-system-interface = { workspace = true, features = ["serde"] }
solana-sysvar = { workspace = true }
solana-transaction-context = { workspace = true, features = ["bincode"] }

[dev-dependencies]
agave-feature-set = { workspace = true }
assert_matches = { workspace = true }
criterion = { workspace = true }
solana-compute-budget = { workspace = true }
solana-hash = { workspace = true }
solana-nonce-account = { workspace = true }
solana-rent = { workspace = true }
solana-sha256-hasher = { workspace = true }
solana-svm-callback = { workspace = true }
solana-svm-feature-set = { workspace = true }
solana-system-program = { path = ".", features = ["agave-unstable-api"] }
solana-transaction-context = { workspace = true, features = ["dev-context-only-utils"] }

[[bench]]
name = "system"
harness = false
