rlx-compile 0.2.2

HIR → MIR → LIR compile pipeline for RLX
Documentation
# 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"
rust-version = "1.87"
name = "rlx-compile"
version = "0.2.2"
authors = [
    "Eugene Hauptmann",
    "Nataliya Kosmyna",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HIR → MIR → LIR compile pipeline for RLX"
homepage = "https://github.com/MIT-RLX/rlx"
documentation = "https://docs.rs/rlx"
readme = "README.md"
keywords = [
    "ml",
    "tensor",
    "compiler",
    "neural-network",
    "autodiff",
]
categories = [
    "science",
    "algorithms",
    "compilers",
]
license = "GPL-3.0-only"
repository = "https://github.com/MIT-RLX/rlx"
resolver = "2"

[features]
default = []
training = ["dep:rlx-autodiff"]

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

[[test]]
name = "dynamic"
path = "tests/dynamic.rs"

[[test]]
name = "hardening"
path = "tests/hardening.rs"

[[test]]
name = "lir_stage_grad_errors"
path = "tests/lir_stage_grad_errors.rs"

[dependencies.rlx-autodiff]
version = "0.2.2"
optional = true

[dependencies.rlx-fusion]
version = "0.2.2"

[dependencies.rlx-ir]
version = "0.2.2"

[dev-dependencies.rlx-autodiff]
version = "0.2.2"

[lints.clippy]
collapsible_if = "allow"
doc_lazy_continuation = "allow"
doc_overindented_list_items = "allow"
large_enum_variant = "allow"
manual_range_contains = "allow"
missing_safety_doc = "allow"
needless_range_loop = "allow"
should_implement_trait = "allow"
single_range_in_vec_init = "allow"
too_many_arguments = "allow"
type_complexity = "allow"
unnecessary_wraps = "allow"
upper_case_acronyms = "allow"
useless_conversion = "allow"

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

[lints.rust.unused]
level = "warn"
priority = 0