[[bench]]
name = "cost_model"
path = "benches/cost_model.rs"
[[bench]]
name = "cost_tracker"
path = "benches/cost_tracker.rs"
[dependencies.ahash]
version = "0.8.11"
[dependencies.lazy_static]
version = "1.5.0"
[dependencies.log]
version = "0.4.22"
[dependencies.solana-builtins-default-costs]
version = "=2.1.2"
[dependencies.solana-compute-budget]
version = "=2.1.2"
[dependencies.solana-feature-set]
version = "=2.1.2"
[dependencies.solana-frozen-abi]
features = ["frozen-abi"]
optional = true
version = "=2.1.2"
[dependencies.solana-frozen-abi-macro]
features = ["frozen-abi"]
optional = true
version = "=2.1.2"
[dependencies.solana-metrics]
version = "=2.1.2"
[dependencies.solana-runtime-transaction]
version = "=2.1.2"
[dependencies.solana-sdk]
version = "=2.1.2"
[dependencies.solana-svm-transaction]
version = "=2.1.2"
[dependencies.solana-vote-program]
version = "=2.1.2"
[dev-dependencies.itertools]
version = "0.12.1"
[dev-dependencies.rand]
version = "0.8.5"
[dev-dependencies.solana-logger]
version = "=2.1.2"
[dev-dependencies.solana-sdk]
features = ["dev-context-only-utils"]
version = "=2.1.2"
[dev-dependencies.solana-system-program]
version = "=2.1.2"
[dev-dependencies.static_assertions]
version = "1.1.0"
[dev-dependencies.test-case]
version = "3.3.1"
[features]
dev-context-only-utils = []
frozen-abi = ["dep:solana-frozen-abi", "dep:solana-frozen-abi-macro", "solana-compute-budget/frozen-abi", "solana-sdk/frozen-abi", "solana-vote-program/frozen-abi"]
[lib]
crate-type = ["lib"]
name = "solana_cost_model"
path = "src/lib.rs"
[lints.rust.unexpected_cfgs]
check-cfg = ['cfg(target_os, values("solana"))', 'cfg(feature, values("frozen-abi", "no-entrypoint"))']
level = "warn"
priority = 0
[package]
authors = ["Anza Maintainers <maintainers@anza.xyz>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "Solana cost model"
documentation = "https://docs.rs/solana-cost-model"
edition = "2021"
homepage = "https://anza.xyz/"
license = "Apache-2.0"
name = "solana-cost-model"
readme = false
repository = "https://github.com/anza-xyz/agave"
version = "2.1.2"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]