[package]
edition = "2021"
name = "tishlang"
version = "2.2.5"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Tish CLI - run, REPL, compile to native"
readme = false
license-file = "LICENSE"
repository = "https://github.com/tishlang/tish"
[package.metadata.cargo-machete]
ignored = ["tishlang_runtime"]
[features]
default = [
"full",
"fast-alloc",
]
fast-alloc = ["dep:mimalloc"]
fs = [
"tishlang_eval/fs",
"tishlang_runtime/fs",
"tishlang_compile/fs",
"tishlang_vm/fs",
]
full = [
"http",
"fs",
"process",
"regex",
"ws",
"timers",
"tty",
"pg",
]
http = [
"tishlang_eval/http",
"tishlang_runtime/http",
"tishlang_compile/http",
"tishlang_vm/http",
]
pg = ["dep:tishlang_pg"]
process = [
"tishlang_eval/process",
"tishlang_runtime/process",
"tishlang_compile/process",
"tishlang_vm/process",
]
regex = [
"tishlang_eval/regex",
"tishlang_runtime/regex",
"tishlang_compile/regex",
"tishlang_vm/regex",
]
timers = [
"tishlang_eval/timers",
"tishlang_compile/timers",
"tishlang_vm/timers",
]
tty = [
"tishlang_eval/tty",
"tishlang_runtime/tty",
"tishlang_compile/tty",
"tishlang_vm/tty",
]
ws = [
"tishlang_eval/ws",
"tishlang_runtime/ws",
"tishlang_compile/ws",
"tishlang_vm/ws",
]
[[bin]]
name = "tish"
path = "src/main.rs"
[[test]]
name = "cargo_example_compile"
path = "tests/cargo_example_compile.rs"
[[test]]
name = "error_source_location"
path = "tests/error_source_location.rs"
[[test]]
name = "fs_read_file_bytes"
path = "tests/fs_read_file_bytes.rs"
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"
[[test]]
name = "run_optimize_stdout_parity"
path = "tests/run_optimize_stdout_parity.rs"
[[test]]
name = "shortcircuit"
path = "tests/shortcircuit.rs"
[[test]]
name = "trycatch_runtime_errors"
path = "tests/trycatch_runtime_errors.rs"
[[test]]
name = "tty_capability"
path = "tests/tty_capability.rs"
[dependencies.clap]
version = "4.6.0"
features = [
"derive",
"color",
]
[dependencies.mimalloc]
version = "0.1"
optional = true
[dependencies.rustyline]
version = "17"
features = ["with-file-history"]
[dependencies.tishlang_ast]
version = ">=0.1"
[dependencies.tishlang_bytecode]
version = ">=0.1"
[dependencies.tishlang_compile]
version = ">=0.1"
[dependencies.tishlang_compile_js]
version = ">=0.1"
[dependencies.tishlang_core]
version = ">=0.1"
[dependencies.tishlang_eval]
version = ">=0.1"
[dependencies.tishlang_ffi]
version = ">=0.1"
[dependencies.tishlang_js_to_tish]
version = ">=0.1"
[dependencies.tishlang_native]
version = ">=0.1"
[dependencies.tishlang_opt]
version = ">=0.1"
[dependencies.tishlang_parser]
version = ">=0.1"
[dependencies.tishlang_pg]
version = ">=0.1"
optional = true
[dependencies.tishlang_runtime]
version = ">=0.1"
[dependencies.tishlang_vm]
version = ">=0.1"
[dependencies.tishlang_wasm]
version = ">=0.1"
[dev-dependencies.rayon]
version = "1.11"