[[bench]]
name = "compilation_bench"
path = "benches/compilation_bench.rs"
[[bench]]
name = "execution_bench"
path = "benches/execution_bench.rs"
[[bench]]
harness = false
name = "parser"
path = "benches/parser.rs"
[[bench]]
harness = false
name = "transpiler"
path = "benches/transpiler.rs"
[[bin]]
name = "ruchy"
path = "src/bin/ruchy.rs"
[[bin]]
name = "ruchy-coverage"
path = "src/bin/ruchy-coverage.rs"
[[bin]]
name = "ruchy-lsp"
path = "src/bin/ruchy-lsp.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.async-trait]
version = "0.1"
[dependencies.chrono]
version = "0.4"
[dependencies.clap]
features = ["derive"]
version = "4.5"
[dependencies.colored]
version = "2.1"
[dependencies.im]
version = "15.1"
[dependencies.logos]
version = "0.14"
[dependencies.once_cell]
version = "1.19"
[dependencies.pest]
version = "2.7"
[dependencies.pest_derive]
version = "2.7"
[dependencies.pmcp]
features = ["full"]
version = "1.2.2"
[dependencies.polars]
features = ["lazy"]
optional = true
version = "0.35"
[dependencies.prettyplease]
version = "0.2"
[dependencies.proc-macro2]
version = "1.0"
[dependencies.proptest]
optional = true
version = "1.4"
[dependencies.quickcheck]
version = "1.0"
[dependencies.quote]
version = "1.0"
[dependencies.rustyline]
version = "14.0"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.10"
[dependencies.smallvec]
version = "1.13"
[dependencies.syn]
features = ["full", "extra-traits", "visit-mut"]
version = "2.0"
[dependencies.tempfile]
optional = true
version = "3.8"
[dependencies.thiserror]
version = "1.0"
[dependencies.tokio]
features = ["full"]
version = "1.46"
[dependencies.tokio-util]
features = ["rt"]
version = "0.7"
[dependencies.toml]
version = "0.8"
[dependencies.tower-lsp]
version = "0.20"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.insta]
features = ["yaml"]
version = "1.40"
[dev-dependencies.proptest]
version = "1.4"
[dev-dependencies.quickcheck]
version = "1.0"
[dev-dependencies.quickcheck_macros]
version = "1.0"
[dev-dependencies.tempfile]
version = "3.8"
[dev-dependencies.tracing-subscriber]
version = "0.3"
[[example]]
name = "actors"
path = "examples/actors.rs"
[[example]]
name = "async_await"
path = "examples/async_await.rs"
[[example]]
name = "dataframe"
path = "examples/dataframe.rs"
[[example]]
name = "dataframe_pipeline"
path = "examples/dataframe_pipeline.rs"
[[example]]
name = "debug_repl"
path = "examples/debug_repl.rs"
[[example]]
name = "error_handling"
path = "examples/error_handling.rs"
[[example]]
name = "function_calls"
path = "examples/function_calls.rs"
[[example]]
name = "imports"
path = "examples/imports.rs"
[[example]]
name = "parser_demo"
path = "examples/parser_demo.rs"
[[example]]
name = "pattern_matching"
path = "examples/pattern_matching.rs"
[[example]]
name = "reference_demo"
path = "examples/reference_demo.rs"
[[example]]
name = "repl_demo"
path = "examples/repl_demo.rs"
[[example]]
name = "string_interpolation_demo"
path = "examples/string_interpolation_demo.rs"
[[example]]
name = "transpiler_demo"
path = "examples/transpiler_demo.rs"
[features]
dataframe = ["polars"]
default = []
testing = ["tempfile", "proptest"]
[lib]
name = "ruchy"
path = "src/lib.rs"
[lints.clippy]
cargo_common_metadata = "warn"
cast_lossless = "warn"
cast_possible_truncation = "warn"
cast_possible_wrap = "warn"
cast_precision_loss = "warn"
cast_sign_loss = "warn"
checked_conversions = "warn"
cloned_instead_of_copied = "warn"
cognitive_complexity = "warn"
dbg_macro = "deny"
default_trait_access = "warn"
doc_markdown = "warn"
empty_enum = "warn"
enum_glob_use = "deny"
enum_variant_names = "warn"
expect_used = "warn"
expl_impl_clone_on_copy = "warn"
explicit_deref_methods = "warn"
explicit_into_iter_loop = "warn"
explicit_iter_loop = "warn"
filter_map_next = "warn"
flat_map_option = "warn"
float_cmp = "warn"
float_cmp_const = "warn"
fn_params_excessive_bools = "warn"
from_iter_instead_of_collect = "warn"
if_not_else = "warn"
implicit_clone = "warn"
implicit_hasher = "warn"
implicit_saturating_sub = "warn"
inconsistent_struct_constructor = "warn"
inefficient_to_string = "warn"
inline_always = "warn"
invalid_upcast_comparisons = "warn"
items_after_statements = "warn"
large_digit_groups = "warn"
large_stack_arrays = "warn"
large_types_passed_by_value = "warn"
let_unit_value = "warn"
linkedlist = "warn"
macro_use_imports = "warn"
manual_assert = "warn"
manual_instant_elapsed = "warn"
manual_let_else = "warn"
manual_ok_or = "warn"
manual_string_new = "warn"
map_flatten = "warn"
map_unwrap_or = "warn"
match_bool = "warn"
match_same_arms = "warn"
match_wild_err_arm = "warn"
match_wildcard_for_single_variants = "warn"
maybe_infinite_iter = "warn"
mismatching_type_param_order = "warn"
missing_errors_doc = "warn"
missing_fields_in_debug = "warn"
missing_panics_doc = "warn"
module_inception = "allow"
module_name_repetitions = "warn"
must_use_candidate = "warn"
mut_mut = "warn"
naive_bytecount = "warn"
needless_bitwise_bool = "warn"
needless_continue = "warn"
needless_for_each = "warn"
needless_pass_by_value = "warn"
needless_raw_string_hashes = "warn"
negative_feature_names = "warn"
no_effect_underscore_binding = "warn"
no_mangle_with_rust_abi = "warn"
option_option = "warn"
panic = "warn"
print_stderr = "warn"
print_stdout = "warn"
pub_without_shorthand = "warn"
range_minus_one = "warn"
range_plus_one = "warn"
rc_buffer = "warn"
rc_mutex = "warn"
redundant_clone = "warn"
redundant_closure_for_method_calls = "warn"
redundant_else = "warn"
redundant_feature_names = "warn"
redundant_pub_crate = "warn"
ref_binding_to_reference = "warn"
ref_option_ref = "warn"
return_self_not_must_use = "warn"
same_functions_in_if_condition = "warn"
semicolon_if_nothing_returned = "warn"
should_panic_without_expect = "warn"
similar_names = "warn"
single_match_else = "warn"
stable_sort_primitive = "warn"
string_add = "warn"
string_add_assign = "warn"
struct_excessive_bools = "warn"
struct_field_names = "warn"
todo = "warn"
too_many_lines = "warn"
trait_duplication_in_bounds = "warn"
transmute_ptr_to_ptr = "warn"
trivially_copy_pass_by_ref = "warn"
type_repetition_in_bounds = "warn"
unchecked_duration_subtraction = "warn"
unicode_not_nfc = "warn"
unimplemented = "warn"
uninlined_format_args = "warn"
unnecessary_box_returns = "warn"
unnecessary_join = "warn"
unnecessary_wraps = "warn"
unnested_or_patterns = "warn"
unreadable_literal = "warn"
unused_async = "warn"
unused_self = "warn"
unwrap_used = "warn"
used_underscore_binding = "warn"
verbose_bit_mask = "warn"
verbose_file_reads = "warn"
wildcard_imports = "warn"
zero_sized_map_values = "warn"
[lints.clippy.complexity]
level = "warn"
priority = -1
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.perf]
level = "warn"
priority = -1
[lints.clippy.style]
level = "warn"
priority = -1
[lints.clippy.suspicious]
level = "deny"
priority = -1
[lints.rust]
missing_docs = "allow"
unsafe_code = "forbid"
[package]
authors = ["Noah Gift"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["compilers", "development-tools", "parser-implementations"]
description = "A systems scripting language that transpiles to idiomatic Rust with extreme quality engineering"
edition = "2021"
keywords = ["language", "compiler", "transpiler", "rust", "scripting"]
license = "MIT OR Apache-2.0"
name = "ruchy"
readme = "README.md"
repository = "https://github.com/paiml/ruchy"
version = "0.7.21"
[profile.dev]
opt-level = 0
[profile.release]
codegen-units = 1
lto = true
opt-level = 3
[[test]]
name = "actor_system_tests"
path = "tests/actor_system_tests.rs"
[[test]]
name = "actor_tests"
path = "tests/actor_tests.rs"
[[test]]
name = "binary_validation"
path = "tests/binary_validation.rs"
[[test]]
name = "chaos_engineering"
path = "tests/chaos_engineering.rs"
[[test]]
name = "cli_oneliner_tests"
path = "tests/cli_oneliner_tests.rs"
[[test]]
name = "coverage_boost_tests"
path = "tests/coverage_boost_tests.rs"
[[test]]
name = "critical_regressions"
path = "tests/critical_regressions.rs"
[[test]]
name = "critical_repl_features"
path = "tests/critical_repl_features.rs"
[[test]]
name = "dataframe_operations_test"
path = "tests/dataframe_operations_test.rs"
[[test]]
name = "dataframe_tests"
path = "tests/dataframe_tests.rs"
[[test]]
name = "edge_case_tests"
path = "tests/edge_case_tests.rs"
[[test]]
name = "error_recovery_test"
path = "tests/error_recovery_test.rs"
[[test]]
name = "functional_programming_tests"
path = "tests/functional_programming_tests.rs"
[[test]]
name = "grammar_exhaustive"
path = "tests/grammar_exhaustive.rs"
[[test]]
name = "import_edge_cases"
path = "tests/import_edge_cases.rs"
[[test]]
name = "import_property_tests"
path = "tests/import_property_tests.rs"
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
[[test]]
name = "lib_tests"
path = "tests/lib_tests.rs"
[[test]]
name = "parser_coverage_tests"
path = "tests/parser_coverage_tests.rs"
[[test]]
name = "property_tests"
path = "tests/property_tests.rs"
[[test]]
name = "reference_basic_test"
path = "tests/reference_basic_test.rs"
[[test]]
name = "reference_operator_tests"
path = "tests/reference_operator_tests.rs"
[[test]]
name = "regression_tests"
path = "tests/regression_tests.rs"
[[test]]
name = "repl_commands_test"
path = "tests/repl_commands_test.rs"
[[test]]
name = "repl_coverage_tests"
path = "tests/repl_coverage_tests.rs"
[[test]]
name = "repl_critical_regression_tests"
path = "tests/repl_critical_regression_tests.rs"
[[test]]
name = "repl_dataframe_tests"
path = "tests/repl_dataframe_tests.rs"
[[test]]
name = "repl_function_tests"
path = "tests/repl_function_tests.rs"
[[test]]
name = "repl_loops_tests"
path = "tests/repl_loops_tests.rs"
[[test]]
name = "repl_match_tests"
path = "tests/repl_match_tests.rs"
[[test]]
name = "repl_pipeline_tests"
path = "tests/repl_pipeline_tests.rs"
[[test]]
name = "repl_property_tests"
path = "tests/repl_property_tests.rs"
[[test]]
name = "repl_regression_tests"
path = "tests/repl_regression_tests.rs"
[[test]]
name = "resource_check"
path = "tests/resource_check.rs"
[[test]]
name = "result_tests"
path = "tests/result_tests.rs"
[[test]]
name = "result_type_tests"
path = "tests/result_type_tests.rs"
[[test]]
name = "roundtrip_tests"
path = "tests/roundtrip_tests.rs"
[[test]]
name = "snapshot_tests"
path = "tests/snapshot_tests.rs"
[[test]]
name = "transpiler_coverage_tests"
path = "tests/transpiler_coverage_tests.rs"
[[test]]
name = "transpiler_edge_cases"
path = "tests/transpiler_edge_cases.rs"
[[test]]
name = "type_inference_tests"
path = "tests/type_inference_tests.rs"