# 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.85"
name = "microcad-lang"
version = "0.2.19"
authors = [
    "Michael Winkelmann (michael@winkelmann.site)",
    "Patrick Hoffmann (p.hoffmann@berlin.de)",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "µcad language"
homepage = "https://microcad.xyz"
documentation = "https://docs.rs/microcad-lang"
readme = "README.md"
license = "AGPL-3.0-or-later"
repository = "https://codeberg.org/microcad/microcad"
resolver = "2"

[features]
ansi-color = ["dep:color-print"]
debug-cell = ["dep:debug-cell"]
default = ["ansi-color"]

[lib]
name = "microcad_lang"
path = "lib.rs"

[dependencies.bytemuck]
version = "1.24"

[dependencies.cgmath]
version = "0.18"

[dependencies.color-print]
version = "0.3"
optional = true

[dependencies.compact_str]
version = "0.9"
features = ["serde"]

[dependencies.ctor]
version = "0.6"

[dependencies.custom_debug]
version = "0.6.2"

[dependencies.debug-cell]
version = "0.1.1"
optional = true

[dependencies.delegate]
version = "0.13"

[dependencies.derive_more]
version = "2.0.1"
features = [
    "deref",
    "deref_mut",
]

[dependencies.env_logger]
version = "0.11"

[dependencies.indexmap]
version = "2"

[dependencies.lazy_static]
version = "1.5"

[dependencies.log]
version = "0.4"

[dependencies.microcad-core]
version = "0.2.19"

[dependencies.miette]
version = "7.6.0"
features = [
    "derive",
    "fancy",
]

[dependencies.pathdiff]
version = "0.2"

[dependencies.pest]
version = "2.8"

[dependencies.pest_derive]
version = "2.8"

[dependencies.round]
version = "0.1.2"

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

[dependencies.scan_dir]
version = "0.3"

[dependencies.sqids]
version = "0.4"

[dependencies.strum]
version = "0.27"
features = ["derive"]

[dependencies.thiserror]
version = "2.0"

[lints.clippy]
unwrap_used = "warn"

[lints.rust]
missing_docs = "warn"
