# 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.70"
name = "quantalang"
version = "1.0.0"
authors = ["Zain Dana Harper"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The QuantaLang compiler — an effects-oriented systems language with multi-backend codegen (C, HLSL, GLSL, SPIR-V, LLVM IR, WebAssembly, x86-64, ARM64)"
homepage = "https://github.com/HarperZ9/quantalang"
documentation = "https://github.com/HarperZ9/quantalang#readme"
readme = "README.md"
keywords = [
    "compiler",
    "language",
    "effects",
    "shaders",
    "systems",
]
categories = [
    "compilers",
    "development-tools",
    "graphics",
]
license = "MIT"
repository = "https://github.com/HarperZ9/quantalang"

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

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

[[example]]
name = "gen_triangle"
path = "examples/gen_triangle.rs"

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

[dependencies.bumpalo]
version = "3.14"

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

[dependencies.indexmap]
version = "2.0"

[dependencies.miette]
version = "7.0"
features = ["fancy"]

[dependencies.rustc-hash]
version = "2.0"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.string-interner]
version = "0.17"

[dependencies.thiserror]
version = "1.0"

[dependencies.unicode-normalization]
version = "0.1"

[dependencies.unicode-xid]
version = "0.2"

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

[dev-dependencies.insta]
version = "1.34"
features = ["json"]

[dev-dependencies.pretty_assertions]
version = "1.4"

[dev-dependencies.proptest]
version = "1.4"

[lints.clippy]
module_inception = "allow"
too_many_arguments = "allow"

[profile.dev]
opt-level = 1
debug = 2

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