mathic 0.2.0

A compiler with builtin support of symbolic operations, built with LLVM/MLIR
# 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 = "mathic"
version = "0.2.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A compiler with builtin support of symbolic operations, built with LLVM/MLIR"
readme = "README.md"
keywords = [
    "compiler",
    "mlir",
    "llvm",
]
categories = ["compilers"]
license = "Apache-2.0"
repository = "https://github.com/FrancoGiachetta/mathic"

[package.metadata.cargo-machete]
ignored = ["libc"]

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

[[bin]]
name = "euler"
path = "src/bin/euler.rs"

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

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

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

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

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

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

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

[[bench]]
name = "eval"
path = "benches/eval.rs"
harness = false

[dependencies.ariadne]
version = "0.6.0"

[dependencies.clap]
version = "4.5.24"
features = ["derive"]

[dependencies.libc]
version = "0.2.182"

[dependencies.llvm-sys]
version = "211.0.0"

[dependencies.logos]
version = "0.16.0"

[dependencies.logos-display]
version = "0.1.3"

[dependencies.melior]
version = "0.26.3"
features = ["helpers"]

[dependencies.mlir-sys]
version = "210.0.1"

[dependencies.rstest]
version = "0.26.1"

[dependencies.thiserror]
version = "2.0.10"

[dependencies.tracing]
version = "0.1.44"

[dependencies.tracing-subscriber]
version = "0.3.22"
features = ["env-filter"]

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.pyo3]
version = "0.23"
features = ["auto-initialize"]

[profile.ci]
opt-level = 3
debug = "line-tables-only"
inherits = "dev"

[profile.dev.package."*"]
opt-level = 2

[profile.optimized-dev]
opt-level = 3
inherits = "dev"

[profile.release]
lto = true
codegen-units = 1