[package]
edition = "2024"
name = "patch-rexx"
version = "0.9.2"
authors = ["Ed Sweeney <ed@onextent.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A modern REXX interpreter in Rust"
readme = "README.md"
keywords = [
"rexx",
"interpreter",
"scripting",
"language",
]
categories = [
"command-line-utilities",
"compilers",
]
license = "MIT"
repository = "https://github.com/navicore/patch-rexx"
[features]
default = []
lsp = [
"dep:tower-lsp",
"dep:tokio",
"dep:serde_json",
]
[lib]
name = "patch_rexx"
path = "src/lib.rs"
[[bin]]
name = "rexx"
path = "src/main.rs"
[[bin]]
name = "rexx-lsp"
path = "src/bin/patch-rexx-lsp.rs"
required-features = ["lsp"]
[[test]]
name = "conformance"
path = "tests/conformance.rs"
[[test]]
name = "phase1"
path = "tests/phase1.rs"
[[test]]
name = "phase10"
path = "tests/phase10.rs"
[[test]]
name = "phase11"
path = "tests/phase11.rs"
[[test]]
name = "phase12a"
path = "tests/phase12a.rs"
[[test]]
name = "phase2"
path = "tests/phase2.rs"
[[test]]
name = "phase3"
path = "tests/phase3.rs"
[[test]]
name = "phase4"
path = "tests/phase4.rs"
[[test]]
name = "phase5"
path = "tests/phase5.rs"
[[test]]
name = "phase6"
path = "tests/phase6.rs"
[[test]]
name = "phase7"
path = "tests/phase7.rs"
[[test]]
name = "phase8"
path = "tests/phase8.rs"
[[test]]
name = "phase9"
path = "tests/phase9.rs"
[[test]]
name = "rexxfile"
path = "tests/rexxfile.rs"
[dependencies.bigdecimal]
version = "0.4"
[dependencies.clap]
version = "4.5"
features = ["derive"]
[dependencies.crossterm]
version = "0.28"
[dependencies.home]
version = "0.5"
[dependencies.num-bigint]
version = "0.4"
[dependencies.rand]
version = "0.9"
[dependencies.regex]
version = "1.11"
[dependencies.serde_json]
version = "1"
optional = true
[dependencies.tokio]
version = "1"
features = ["full"]
optional = true
[dependencies.tower-lsp]
version = "0.20"
optional = true
[dependencies.vim-line]
version = "4"
[dev-dependencies.tempfile]
version = "3"
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
redundant_clone = "warn"
trait_duplication_in_bounds = "warn"
uninhabited_references = "warn"
unnecessary_fallible_conversions = "warn"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true