[package]
edition = "2024"
name = "run-rs"
version = "0.3.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Run a subset of Rust as an interpreted script"
readme = "README.md"
keywords = [
"rust",
"scripting",
"interpreter",
"automation",
"cli",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/VladasZ/rustscript"
[[bin]]
name = "rust"
path = "src/main.rs"
[[test]]
name = "check"
path = "tests/check.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "equivalence"
path = "tests/equivalence.rs"
[[test]]
name = "examples"
path = "tests/examples.rs"
[[test]]
name = "failures"
path = "tests/failures.rs"
[[test]]
name = "local_crate"
path = "tests/local_crate.rs"
[[test]]
name = "multifile"
path = "tests/multifile.rs"
[[test]]
name = "run"
path = "tests/run.rs"
[[test]]
name = "semantics"
path = "tests/semantics.rs"
[[test]]
name = "traces"
path = "tests/traces.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.base64]
version = "0.23"
[dependencies.chrono]
version = "0.4"
[dependencies.colored]
version = "3.1"
[dependencies.compact_str]
version = "0.10"
[dependencies.crossterm]
version = "0.29"
[dependencies.ctrlc]
version = "3.5"
[dependencies.dirs]
version = "6.0"
[dependencies.flate2]
version = "1.1"
[dependencies.glob]
version = "0.3"
[dependencies.hex]
version = "0.4"
[dependencies.indexmap]
version = "2"
[dependencies.indicatif]
version = "0.18"
[dependencies.jsonwebtoken]
version = "11.0"
features = ["rust_crypto"]
[dependencies.lopdf]
version = "0.44"
[dependencies.mimalloc]
version = "0.1"
[dependencies.num-traits]
version = "0.2"
[dependencies.parking_lot]
version = "0.12"
[dependencies.proc-macro2]
version = "1.0"
features = ["span-locations"]
[dependencies.rand]
version = "0.10"
[dependencies.ratatui]
version = "0.30"
default-features = false
[dependencies.regex]
version = "1.13"
[dependencies.reqwest]
version = "0.13"
features = [
"blocking",
"cookies",
"json",
"query",
"rustls",
]
default-features = false
[dependencies.rustc-hash]
version = "2.1"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
features = ["preserve_order"]
[dependencies.serde_yaml]
version = "0.9"
[dependencies.sha2]
version = "0.11"
[dependencies.syn]
version = "3.0"
features = [
"extra-traits",
"full",
]
[dependencies.tar]
version = "0.4"
[dependencies.tempfile]
version = "3.27"
[dependencies.terminal-light]
version = "1.9"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.toml]
version = "1.1"
[dependencies.which]
version = "8.0"
[dependencies.xmltree]
version = "0.12"
features = ["attribute-order"]
[dependencies.zip]
version = "8.6"
features = ["deflate"]
default-features = false
[dev-dependencies.pretty_assertions]
version = "1.4"
[build-dependencies.chrono]
version = "0.4"
[build-dependencies.proc-macro2]
version = "1.0"
[build-dependencies.syn]
version = "2.0"
features = [
"full",
"extra-traits",
"visit",
]
[target."cfg(windows)".dependencies.encoding_rs]
version = "0.8"
[target."cfg(windows)".dependencies.windows-service]
version = "0.8"
[target."cfg(windows)".dependencies.windows-sys]
version = "0.61"
features = ["Win32_System_Console"]
[target."cfg(windows)".dependencies.winreg]
version = "0.56"
[target."cfg(windows)".dependencies.wmi]
version = "0.18"
[lints.clippy]
explicit_deref_methods = "allow"
format_push_string = "allow"
manual_assert = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
missing_safety_doc = "allow"
module_inception = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
new_without_default = "allow"
return_self_not_must_use = "allow"
struct_field_names = "allow"
unnecessary_box_returns = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1