[package]
edition = "2024"
name = "solana-system-program"
version = "4.2.0-beta.0"
authors = ["Anza Maintainers <maintainers@anza.xyz>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Solana System program"
homepage = "https://anza.xyz/"
documentation = "https://docs.rs/solana-system-program"
readme = false
license = "Apache-2.0"
repository = "https://github.com/anza-xyz/agave"
resolver = "2"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
all-features = true
rustdoc-args = ["--cfg=docsrs"]
[features]
agave-unstable-api = []
[lib]
name = "solana_system_program"
crate-type = ["lib"]
path = "src/lib.rs"
[[bench]]
name = "system"
path = "benches/system.rs"
harness = false
[dependencies.bincode]
version = "1.3.3"
[dependencies.log]
version = "0.4.32"
[dependencies.solana-account]
version = "4.3.1"
[dependencies.solana-bincode]
version = "3.1.0"
[dependencies.solana-fee-calculator]
version = "3.2.2"
[dependencies.solana-instruction]
version = "3.4.0"
[dependencies.solana-nonce]
version = "3.2.0"
features = ["serde"]
[dependencies.solana-nonce-account]
version = "4.1.0"
features = ["wincode"]
[dependencies.solana-packet]
version = "4.1.0"
[dependencies.solana-program-runtime]
version = "=4.2.0-beta.0"
features = ["agave-unstable-api"]
[dependencies.solana-pubkey]
version = "4.2.0"
features = ["sha2"]
default-features = false
[dependencies.solana-sdk-ids]
version = "3.1.0"
[dependencies.solana-svm-log-collector]
version = "=4.2.0-beta.0"
features = ["agave-unstable-api"]
[dependencies.solana-system-interface]
version = "3.2"
features = [
"alloc",
"bincode",
"serde",
"wincode",
"serde",
]
[dependencies.solana-sysvar]
version = "4.0.0"
[dependencies.solana-transaction-context]
version = "=4.2.0-beta.0"
features = [
"agave-unstable-api",
"bincode",
"bincode",
]
[dev-dependencies.assert_matches]
version = "1.5.0"
[dev-dependencies.criterion]
version = "0.8.2"
[dev-dependencies.solana-hash]
version = "4.4.0"
[dev-dependencies.solana-program-runtime]
version = "=4.2.0-beta.0"
features = [
"agave-unstable-api",
"dev-context-only-utils",
]
[dev-dependencies.solana-pubkey]
version = "4.2.0"
features = ["rand"]
default-features = false
[dev-dependencies.solana-rent]
version = "4.2.1"
[dev-dependencies.solana-sha256-hasher]
version = "3.1.0"
[lints.clippy]
arithmetic_side_effects = "deny"
default_trait_access = "deny"
manual_let_else = "deny"
new_without_default = "allow"
uninlined_format_args = "deny"
used_underscore_binding = "deny"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
'cfg(target_os, values("solana"))',
'cfg(feature, values("frozen-abi", "no-entrypoint"))',
'cfg(target_arch, values("sbf"))',
]