# 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-viewer"
version = "0.2.18"
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 Viewer"
homepage = "https://microcad.xyz"
readme = "README.md"
license = "AGPL-3.0-or-later"
repository = "https://codeberg.org/microcad/microcad"
resolver = "2"

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

[[bin]]
name = "microcad-viewer"
path = "src/main.rs"

[dependencies.anyhow]
version = "1.0.100"

[dependencies.bevy]
version = "0.16.1"
features = [
    "png",
    "bevy_asset",
    "bevy_color",
    "bevy_gizmos",
    "bevy_mesh_picking_backend",
    "bevy_picking",
    "bevy_pbr",
    "bevy_render",
    "bevy_ui",
    "bevy_text",
    "bevy_window",
    "bevy_winit",
    "tonemapping_luts",
    "x11",
]
default-features = false

[dependencies.bevy_mod_outline]
version = "0.10.3"

[dependencies.bytemuck]
version = "1.24"

[dependencies.cgmath]
version = "0.18"
features = ["serde"]

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

[dependencies.crossbeam]
version = "0.8"

[dependencies.dirs]
version = "6"

[dependencies.env_logger]
version = "0.11"

[dependencies.geo]
version = "0.31"

[dependencies.log]
version = "0.4"

[dependencies.microcad-builtin]
version = "0.2.18"

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

[dependencies.microcad-lang]
version = "0.2.18"

[dependencies.microcad-viewer-ipc]
version = "0.2.18"

[dependencies.notify]
version = "8"

[dependencies.once_cell]
version = "1.21.3"

[dependencies.percent-encoding]
version = "2.3.2"

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

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.url]
version = "2.5.7"

[dependencies.wkt]
version = "0.14"

[lints.clippy]
unwrap_used = "warn"

[lints.rust]
missing_docs = "warn"
