# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "rue-compiler"
version = "0.8.4"
authors = ["Brandon Haggstrom <me@rigidnetwork.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A compiler for the Rue programming language."
homepage = "https://github.com/xch-dev/rue"
readme = "README.md"
keywords = [
    "chia",
    "blockchain",
    "crypto",
]
categories = [
    "cryptography::cryptocurrencies",
    "development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/xch-dev/rue"

[lib]
name = "rue_compiler"
path = "src/lib.rs"

[dependencies.clvmr]
version = "0.16.0"

[dependencies.hex]
version = "0.4.3"

[dependencies.id-arena]
version = "2.2.1"

[dependencies.include_dir]
version = "0.7.4"

[dependencies.indexmap]
version = "2.10.0"

[dependencies.log]
version = "0.4.27"

[dependencies.num-bigint]
version = "0.4.6"

[dependencies.num-traits]
version = "0.2.19"

[dependencies.rowan]
version = "0.16.1"

[dependencies.rue-ast]
version = "0.8.4"

[dependencies.rue-diagnostic]
version = "0.8.4"

[dependencies.rue-hir]
version = "0.8.4"

[dependencies.rue-lexer]
version = "0.8.4"

[dependencies.rue-lir]
version = "0.8.4"

[dependencies.rue-options]
version = "0.8.4"

[dependencies.rue-parser]
version = "0.8.4"

[dependencies.rue-types]
version = "0.8.4"

[dependencies.thiserror]
version = "2.0.12"

[lints.clippy]
case_sensitive_file_extension_comparisons = "allow"
cast_possible_truncation = "allow"
implicit_hasher = "allow"
match_same_arms = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
needless_raw_string_hashes = "allow"
similar_names = "allow"
too_many_lines = "allow"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
dead_code = "warn"
deprecated = "deny"
deprecated_in_future = "deny"
missing_copy_implementations = "warn"
missing_debug_implementations = "warn"
non_ascii_idents = "deny"
trivial_casts = "deny"
trivial_numeric_casts = "deny"
unreachable_code = "warn"
unreachable_patterns = "deny"
unsafe_code = "deny"
unused_extern_crates = "deny"

[lints.rust.future_incompatible]
level = "deny"
priority = -1

[lints.rust.nonstandard_style]
level = "deny"
priority = -1

[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1

[lints.rust.rust_2021_compatibility]
level = "deny"
priority = -1
