# 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 = "atlas-runtime-transaction"
version = "3.0.0"
authors = ["Atlas Chain Foundation"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Atlas runtime-transaction"
homepage = "https://anza.xyz/"
documentation = "https://docs.rs/atlas-runtime-transaction"
readme = false
license = "Apache-2.0"
repository = "https://github.com/anza-xyz/agave"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

[features]
dev-context-only-utils = ["solana-compute-budget-instruction/dev-context-only-utils"]

[lib]
name = "atlas_runtime_transaction"
crate-type = ["lib"]
path = "src/lib.rs"

[[bench]]
name = "get_signature_details"
path = "benches/get_signature_details.rs"
harness = false

[dependencies.agave-transaction-view]
version = "=3.0.0"

[dependencies.log]
version = "0.4.27"

[dependencies.solana-compute-budget]
version = "=3.0.0"

[dependencies.solana-compute-budget-instruction]
version = "=3.0.0"

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

[dependencies.solana-message]
version = "3.0.0"
features = ["blake3"]

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

[dependencies.solana-sdk-ids]
version = "3.0.0"

[dependencies.solana-signature]
version = "3.1.0"
default-features = false

[dependencies.solana-svm-transaction]
version = "=3.0.0"

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

[dependencies.solana-transaction-error]
version = "3.0.0"

[dependencies.thiserror]
version = "2.0.16"

[dev-dependencies.agave-feature-set]
version = "=3.0.0"

[dev-dependencies.agave-reserved-account-keys]
version = "=3.0.0"

[dev-dependencies.bincode]
version = "1.3.3"

[dev-dependencies.criterion]
version = "0.5.1"

[dev-dependencies.rand]
version = "0.8.5"

[dev-dependencies.solana-compute-budget-instruction]
version = "=3.0.0"
features = ["dev-context-only-utils"]

[dev-dependencies.solana-compute-budget-interface]
version = "3.0.0"

[dev-dependencies.solana-instruction]
version = "3.0.0"

[dev-dependencies.solana-keypair]
version = "3.0.0"

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

[dev-dependencies.solana-signer]
version = "3.0.0"

[dev-dependencies.solana-system-interface]
version = "2.0"
features = ["bincode"]

[dev-dependencies.solana-system-transaction]
version = "3.0.0"

[dev-dependencies.solana-transaction]
version = "3.0.0"
features = ["blake3"]

[dev-dependencies.solana-vote-interface]
version = "3.0.0"

[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"))',
]
