# 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"
rust-version = "1.86.0"
name = "litesvm-persistence"
version = "0.13.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Save and load LiteSVM state snapshots"
readme = false
license = "Apache-2.0"
repository = "https://github.com/LiteSVM/litesvm"

[lib]
name = "litesvm_persistence"
path = "src/lib.rs"
test = false
doctest = false

[[test]]
name = "roundtrip"
path = "tests/roundtrip.rs"

[dependencies.agave-feature-set]
version = "4.0.0"
features = ["agave-unstable-api"]

[dependencies.litesvm]
version = "0.13"
features = ["persistence-internal"]

[dependencies.solana-account]
version = "3.4.0"

[dependencies.solana-address]
version = "=2.2.0"
features = ["wincode"]

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

[dependencies.solana-fee-structure]
version = "3.0"

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

[dependencies.solana-message]
version = "=3.1.0"

[dependencies.solana-signature]
version = "3.3.0"
features = ["wincode"]

[dependencies.solana-transaction-context]
version = "4.0.0"

[dependencies.solana-transaction-error]
version = "3.1.0"
features = ["wincode"]

[dependencies.thiserror]
version = "2.0.17"

[dependencies.wincode]
version = "0.4.9"
features = [
    "alloc",
    "derive",
    "std",
]

[dependencies.wincode-derive]
version = "0.4.6"

[dev-dependencies.solana-clock]
version = "3.0.1"

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

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

[dev-dependencies.solana-message]
version = "=3.1.0"

[dev-dependencies.solana-native-token]
version = "3.0.0"

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

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

[dev-dependencies.solana-transaction]
version = "3.1.0"
features = ["verify"]

[dev-dependencies.tempfile]
version = "3"

[lints.clippy]
result_large_err = "allow"
