[package]
name = "cure-cli"
description = "CLI for cure: fault-tolerant Java, TypeScript/JavaScript, Python and Dart simplifier/formatter (source in, source out)"
version.workspace = true
edition.workspace = true
license.workspace = true
readme = "README.md"
repository.workspace = true
rust-version.workspace = true
keywords = ["java", "typescript", "python", "dart", "deobfuscation"]
categories = ["command-line-utilities", "development-tools"]
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/cure-v{ version }-{ target }{ archive-suffix }"
bin-dir = "{ bin }{ binary-ext }"
pkg-fmt = "bin"
[[bin]]
name = "cure"
path = "src/main.rs"
[features]
io-uring = ["dep:io-uring"]
[target.'cfg(target_os = "linux")'.dependencies]
io-uring = { version = "0.7", optional = true }
[dependencies]
cure-ts-ast = { path = "../cure-ts-ast", version = "0.3.0" }
cure-ts-parser = { path = "../cure-ts-parser", version = "0.3.0" }
cure-ts-print = { path = "../cure-ts-print", version = "0.3.0" }
cure-ts-simplify = { path = "../cure-ts-simplify", version = "0.3.0" }
cure-python-ast = { path = "../cure-python-ast", version = "0.3.0" }
cure-python-parser = { path = "../cure-python-parser", version = "0.3.0" }
cure-python-print = { path = "../cure-python-print", version = "0.3.0" }
cure-python-simplify = { path = "../cure-python-simplify", version = "0.3.0" }
cure-dart-ast = { path = "../cure-dart-ast", version = "0.3.0" }
cure-dart-parser = { path = "../cure-dart-parser", version = "0.3.0" }
cure-dart-print = { path = "../cure-dart-print", version = "0.3.0" }
cure-dart-simplify = { path = "../cure-dart-simplify", version = "0.3.0" }
cure-java-parser = { workspace = true }
cure-java-simplify = { workspace = true }
cure-java-print = { workspace = true }
cure-java-ast = { workspace = true }
cure-engine = { workspace = true }
[dev-dependencies]
assert_cmd = "2"
predicates = "1"
tempfile = "3"