agave-feature-set 4.2.0

Solana runtime feature declarations
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "agave-feature-set"
version = "4.2.0"
authors = ["Anza Maintainers <maintainers@anza.xyz>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Solana runtime feature declarations"
homepage = "https://anza.xyz/"
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 = []
frozen-abi = [
    "dep:solana-frozen-abi",
    "dep:solana-frozen-abi-macro",
]

[lib]
name = "agave_feature_set"
path = "src/lib.rs"

[dependencies.ahash]
version = "0.8.12"

[dependencies.solana-epoch-schedule]
version = ">=3.2.0,<3.3.0"

[dependencies.solana-frozen-abi]
version = ">=3.7.0,<3.8.0"
features = ["frozen-abi"]
optional = true

[dependencies.solana-frozen-abi-macro]
version = "3.6.0"
features = ["frozen-abi"]
optional = true

[dependencies.solana-hash]
version = ">=4.4.0,<4.6.0"

[dependencies.solana-keypair]
version = "3.1.2"

[dependencies.solana-pubkey]
version = ">=4.2.0,<4.3.0"
default-features = false

[dependencies.solana-sha256-hasher]
version = "3.1.0"
features = ["sha2"]

[dependencies.solana-svm-feature-set]
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"))',
]