# 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 = "2021"
rust-version = "1.80.0"
name = "mosaic-lang"
version = "0.0.2"
authors = ["Lucas Plumb"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A compiler for Mosaic."
readme = "README.md"
keywords = [
    "compiler",
    "Mosaic",
]
categories = ["compilers"]
license-file = "LICENSE"
repository = "https://github.com/ljp-projects/mosaic"

[[bin]]
name = "msc"
path = "src/main.rs"

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

[dependencies.colored]
version = "3.0.0"

[dependencies.cranelift-codegen]
version = "0.120.1"

[dependencies.cranelift-frontend]
version = "0.120.1"

[dependencies.cranelift-module]
version = "0.120.1"

[dependencies.cranelift-object]
version = "0.120.1"

[dependencies.downcast-rs]
version = "2.0"

[dependencies.either]
version = "1.15.0"

[dependencies.homedir]
version = "0.3"

[dependencies.mmap-rs]
version = "0.7"

[dependencies.target-lexicon]
version = "0.13"

[dependencies.tokio]
version = "1.49"
features = [
    "rt",
    "rt-multi-thread",
    "macros",
]

[profile.bench]
opt-level = 3
lto = "fat"
debug = "line-tables-only"
debug-assertions = false
overflow-checks = false
incremental = true

[profile.dev]
panic = "unwind"
incremental = true

[profile.release]
opt-level = "z"
lto = "fat"
debug = "line-tables-only"
debug-assertions = false
rpath = true
panic = "abort"
overflow-checks = false
incremental = true
strip = true

[profile.release.package."*"]
opt-level = "z"
debug = "line-tables-only"
debug-assertions = false
overflow-checks = false
incremental = true

[profile.release.build-override]
opt-level = "z"
debug = "line-tables-only"
debug-assertions = false
overflow-checks = false
incremental = true
