BREP_app 0.4.0

The BREP CAD application: an eframe (egui + wgpu) host that draws the brep-render 3D engine into an egui frame — native + wasm from one codebase.
Documentation
# 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.92"
name = "BREP_app"
version = "0.4.0"
build = "build.rs"
include = [
    "src/**",
    "assets/glyphs/*.svg",
    "/build.rs",
    "/Cargo.toml",
    "/LICENSE.md",
    "/THIRD-PARTY-NOTICES.md",
    "/README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The BREP CAD application: an eframe (egui + wgpu) host that draws the brep-render 3D engine into an egui frame — native + wasm from one codebase."
readme = "README.md"
keywords = [
    "cad",
    "brep",
    "egui",
    "wasm",
    "parametric",
]
categories = [
    "graphics",
    "gui",
    "wasm",
]
license-file = "LICENSE.md"
repository = "https://github.com/mmiscool/NURBS_BREP_kernel"

[features]
automation = ["dep:schemars"]
default = ["mcp"]
mcp = [
    "automation",
    "dep:brep-mcp-core",
    "dep:tokio",
]

[lib]
name = "brep_app"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[[bin]]
name = "brep-app"
path = "src/main.rs"

[dependencies.brep-render]
version = "0.4.0"
package = "BREP_render"

[dependencies.eframe]
version = "0.35"
features = [
    "wgpu",
    "default_fonts",
    "x11",
    "wayland",
]
default-features = false

[dependencies.egui]
version = "0.35"

[dependencies.egui_extras]
version = "0.35"
features = ["svg"]
default-features = false

[dependencies.egui_tiles]
version = "0.16"
features = ["serde"]

[dependencies.ehttp]
version = "0.5"

[dependencies.image]
version = "0.25"
features = ["png"]
default-features = false

[dependencies.log]
version = "0.4"

[dependencies.schemars]
version = "1.2"
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.wgpu]
version = "29"
features = ["webgl"]

[build-dependencies.usvg]
version = "0.45.1"
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.brep-mcp-core]
version = "0.3.0"
optional = true
package = "BREP_mcp_core"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "sync",
    "net",
    "time",
]
optional = true

[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4"

[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3"
features = [
    "HtmlCanvasElement",
    "Window",
    "Document",
    "IdbFactory",
    "IdbOpenDbRequest",
    "IdbDatabase",
    "IdbTransaction",
    "IdbTransactionMode",
    "IdbObjectStore",
    "IdbRequest",
    "DomException",
    "Location",
    "UrlSearchParams",
    "Element",
    "Node",
    "HtmlElement",
    "HtmlAnchorElement",
    "HtmlInputElement",
    "Blob",
    "BlobPropertyBag",
    "Url",
    "File",
    "FileList",
    "FileReader",
    "Event",
    "Worker",
    "WorkerOptions",
    "WorkerType",
    "DedicatedWorkerGlobalScope",
    "MessageEvent",
]

[profile.release]
opt-level = 3