[package]
edition = "2024"
name = "agave-scheduling-utils"
version = "4.2.0"
authors = ["Anza Maintainers <maintainers@anza.xyz>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Common utilities for building Agave scheduler implementations"
homepage = "https://anza.xyz/"
documentation = "https://docs.rs/agave-scheduling-utils"
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 = []
dev-context-only-utils = [
"dep:wincode",
"dep:solana-transaction",
]
[lib]
name = "agave_scheduling_utils"
path = "src/lib.rs"
[dependencies.agave-feature-set]
version = "=4.2.0"
features = ["agave-unstable-api"]
[dependencies.agave-scheduler-bindings]
version = "=4.2.0"
features = ["agave-unstable-api"]
[dependencies.agave-transaction-view]
version = "=4.2.0"
features = ["agave-unstable-api"]
[dependencies.ahash]
version = "0.8.12"
[dependencies.rts-alloc]
version = "4.0.0"
[dependencies.shaq]
version = "3.0.0"
[dependencies.slotmap]
version = "1.0.7"
[dependencies.solana-fee]
version = "=4.2.0"
features = [
"agave-unstable-api",
"agave-unstable-api",
]
[dependencies.solana-pubkey]
version = ">=4.2.0,<4.3.0"
default-features = false
[dependencies.solana-runtime-transaction]
version = "=4.2.0"
features = ["agave-unstable-api"]
[dependencies.solana-transaction]
version = ">=4.1.4,<4.2.0"
features = ["serde"]
optional = true
[dependencies.solana-transaction-error]
version = ">=3.3.1,<3.4.0"
[dependencies.thiserror]
version = "2.0.18"
[dependencies.wincode]
version = "0.5.5"
features = ["derive"]
optional = true
[dev-dependencies.solana-pubkey]
version = ">=4.2.0,<4.3.0"
features = ["rand"]
default-features = false
[dev-dependencies.tempfile]
version = "3.27.0"
[target."cfg(unix)".dependencies.libc]
version = "0.2.186"
[target."cfg(unix)".dependencies.nix]
version = "0.31.3"
features = [
"socket",
"uio",
]
[target."cfg(unix)".dev-dependencies.agave-scheduler-bindings]
version = "=4.2.0"
features = ["agave-unstable-api"]
[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"))',
]