# 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-core"
version = "0.4.8"
authors = ["Dystr Team"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Host-agnostic RunMat execution engine (parser, interpreter, snapshot loader)"
homepage = "https://runmat.com"
readme = false
license = "MIT"
license-file = "LICENSE"
repository = "https://github.com/runmat-org/runmat"

[features]
default = ["jit"]
jit = ["dep:runmat-turbine"]

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.log]
version = "0.4"

[dependencies.runmat-accelerate]
version = "=0.4.8"

[dependencies.runmat-accelerate-api]
version = "=0.4.8"

[dependencies.runmat-async]
version = "=0.4.8"

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

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

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

[dependencies.runmat-lexer]
version = "=0.4.8"

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

[dependencies.runmat-telemetry]
version = "=0.4.8"

[dependencies.runmat-time]
version = "=0.4.8"

[dependencies.runmat-turbine]
version = "=0.4.8"
optional = true

[dependencies.runmat-vm]
version = "=0.4.8"

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1"
features = ["v4"]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.futures]
version = "0.3"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.runmat-runtime]
version = "=0.4.8"
features = ["plot-core"]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.runmat-snapshot]
version = "=0.4.8"
features = [
    "compression-native",
    "validation",
]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1"
features = ["sync"]
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.runmat-runtime]
version = "=0.4.8"
features = ["plot-web"]
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.runmat-snapshot]
version = "=0.4.8"
features = [
    "compression-wasm",
    "validation",
]
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.uuid]
version = "1"
features = [
    "v4",
    "js",
]
default-features = false
