[[bin]]
name = "rumoca"
path = "src/main.rs"
required-features = ["cli"]
[[bin]]
name = "rumoca-fmt"
path = "src/bin/rumoca_fmt.rs"
required-features = ["cli"]
[[bin]]
name = "rumoca-lint"
path = "src/bin/rumoca_lint.rs"
required-features = ["cli"]
[[bin]]
name = "rumoca-lsp"
path = "src/bin/rumoca_lsp.rs"
required-features = ["cli", "lsp"]
[build-dependencies.parol]
version = "4.2.1"
[dependencies.anyhow]
version = "1.0"
[dependencies.bincode]
optional = true
version = "1.3"
[dependencies.chksum-md5]
version = "0.1.0"
[dependencies.clap]
features = ["derive"]
optional = true
version = "4.5.31"
[dependencies.crossbeam-channel]
optional = true
version = "0.5"
[dependencies.dirs]
optional = true
version = "5.0"
[dependencies.env_logger]
optional = true
version = "0.11"
[dependencies.getrandom]
features = ["wasm_js"]
optional = true
version = "0.3"
[dependencies.git-version]
version = "0.3.9"
[dependencies.indexmap]
features = ["serde"]
version = "2.7.1"
[dependencies.js-sys]
optional = true
version = "0.3"
[dependencies.lsp-server]
optional = true
version = "0.7"
[dependencies.lsp-types]
optional = true
version = "0.97"
[dependencies.miette]
features = ["fancy"]
version = "7.4.0"
[dependencies.mimalloc]
default-features = false
optional = true
version = "0.1"
[dependencies.minijinja]
features = ["json"]
version = "2.8.0"
[dependencies.notify]
optional = true
version = "6.1"
[dependencies.num_cpus]
version = "1.16"
[dependencies.owo-colors]
version = "4.0"
[dependencies.parol_runtime]
version = "4.1.0"
[dependencies.pyo3]
features = ["extension-module"]
optional = true
version = "0.27"
[dependencies.rayon]
version = "1.10"
[dependencies.scnr2]
version = "0.3.3"
[dependencies.serde]
features = ["derive"]
version = "1.0.218"
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.toml]
version = "0.8"
[dependencies.wasm-bindgen]
optional = true
version = "0.2"
[dependencies.wasm-bindgen-futures]
optional = true
version = "0.4"
[dependencies.wasm-bindgen-rayon]
optional = true
version = "1.3"
[dependencies.web-sys]
features = ["Window", "console"]
optional = true
version = "0.3"
[dev-dependencies.rand]
version = "0.8"
[dev-dependencies.tempfile]
version = "3.23.0"
[features]
allocator = ["mimalloc"]
cache = ["bincode", "dirs"]
cli = ["clap", "env_logger"]
default = ["cli", "lsp", "cache", "allocator"]
lsp = ["lsp-core", "lsp-server", "notify", "crossbeam-channel"]
lsp-core = ["lsp-types"]
python = ["pyo3"]
regen-parser = []
wasm = ["lsp-core", "wasm-bindgen", "wasm-bindgen-rayon", "wasm-bindgen-futures", "js-sys", "web-sys", "getrandom"]
[lib]
crate-type = ["cdylib", "rlib"]
name = "rumoca"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["compilers", "science", "simulation"]
default-run = "rumoca"
description = "Modelica compiler written in RUST"
documentation = "https://docs.rs/rumoca"
edition = "2024"
exclude = ["editors/", "bindings/", "examples/", ".github/", "docs/", "tools/", "*.swp"]
homepage = "https://github.com/jgoppert/rumoca"
keywords = ["modelica", "compiler", "dae", "simulation"]
license = "Apache-2.0"
name = "rumoca"
readme = "README.md"
repository = "https://github.com/jgoppert/rumoca"
version = "0.7.22"
[package.metadata.wasm-pack.profile.dev]
wasm-opt = false
[package.metadata.wasm-pack.profile.release]
wasm-opt = false
[profile.dev.build-override]
opt-level = 3
[profile.release.build-override]
opt-level = 3
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom_02]
features = ["js"]
package = "getrandom"
version = "0.2"
[target.'cfg(target_arch = "wasm32")'.dependencies.web-time]
version = "1.1"
[[test]]
name = "balance_tests"
path = "tests/balance_tests.rs"
[[test]]
name = "cache_tests"
path = "tests/cache_tests.rs"
[[test]]
name = "dae_ir_tests"
path = "tests/dae_ir_tests.rs"
[[test]]
name = "dae_tests"
path = "tests/dae_tests.rs"
[[test]]
name = "event_functions_tests"
path = "tests/event_functions_tests.rs"
[[test]]
name = "flatten_tests"
path = "tests/flatten_tests.rs"
[[test]]
name = "lsp_tests"
path = "tests/lsp_tests.rs"
[[test]]
name = "msl_tests"
path = "tests/msl_tests.rs"
[[test]]
name = "noevent_smooth_tests"
path = "tests/noevent_smooth_tests.rs"
[[test]]
name = "package_structure_tests"
path = "tests/package_structure_tests.rs"
[[test]]
name = "parser_tests"
path = "tests/parser_tests.rs"