# 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 = "runmat-snapshot"
version = "0.2.6"
authors = ["Dystr Team"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance snapshot creator for preloading RunMat standard library"
readme = false
keywords = [
    "matlab",
    "octave",
    "snapshot",
    "serialization",
    "performance",
]
categories = [
    "science",
    "development-tools",
    "compilers",
]
license = "MIT"
license-file = "LICENSE"

[features]
blas-lapack = ["runmat-runtime/blas-lapack"]
compression = [
    "lz4",
    "zstd",
]
default = [
    "compression",
    "validation",
]
validation = [
    "sha2",
    "blake3",
    "crc32fast",
]

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

[[bin]]
name = "runmat-snapshot-tool"
path = "src/bin/tool.rs"

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

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

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

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

[[bench]]
name = "snapshot_performance"
path = "benches/snapshot_performance.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.bincode]
version = "1.3"

[dependencies.blake3]
version = "1.5"
optional = true

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.clap]
version = "4.4"
features = ["derive"]

[dependencies.crc32fast]
version = "1.3"
optional = true

[dependencies.env_logger]
version = "0.10"

[dependencies.indicatif]
version = "0.17"

[dependencies.libc]
version = "0.2"

[dependencies.log]
version = "0.4"

[dependencies.lz4]
version = "1.24"
optional = true

[dependencies.memmap2]
version = "0.9"

[dependencies.parking_lot]
version = "0.12"

[dependencies.runmat-builtins]
version = "=0.2.6"

[dependencies.runmat-gc]
version = "=0.2.6"

[dependencies.runmat-hir]
version = "=0.2.6"

[dependencies.runmat-ignition]
version = "=0.2.6"

[dependencies.runmat-parser]
version = "=0.2.6"

[dependencies.runmat-runtime]
version = "=0.2.6"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.sha2]
version = "0.10"
optional = true

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.0"
features = ["full"]

[dependencies.zstd]
version = "0.13"
optional = true

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.env_logger]
version = "0.10"

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