# 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 = "2021"
name = "agave-feature-set"
version = "3.0.11"
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"

[features]
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.11"

[dependencies.solana-epoch-schedule]
version = "3.0.0"

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

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

[dependencies.solana-hash]
version = "3.0.0"

[dependencies.solana-pubkey]
version = "3.0.0"
default-features = false

[dependencies.solana-sha256-hasher]
version = "3.0.0"

[dependencies.solana-svm-feature-set]
version = "=3.0.11"

[lints.clippy]
arithmetic_side_effects = "deny"
default_trait_access = "deny"
manual_let_else = "deny"
used_underscore_binding = "deny"

[lints.rust]
warnings = "deny"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    'cfg(target_os, values("solana"))',
    'cfg(feature, values("frozen-abi", "no-entrypoint"))',
]
