draftwright 0.6.1

Dimensioned engineering drawings from STEP, with SVG, PDF and editable DXF output.
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 = "2024"
name = "draftwright"
version = "0.6.1"
build = "build.rs"
include = [
    "/src",
    "/build.rs",
    "/build_support.rs",
    "/fonts",
    "/schemas",
    "/docs/finding-impact.md",
    "/README.md",
    "/CHANGELOG.md",
    "/LICENSE",
    "/CLA.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Dimensioned engineering drawings from STEP, with SVG, PDF and editable DXF output."
homepage = "https://draftwright.io"
readme = "README.md"
keywords = [
    "cad",
    "step",
    "technical-drawing",
    "drafting",
    "manufacturing",
]
categories = [
    "science",
    "command-line-utilities",
    "graphics",
]
license = "AGPL-3.0-only"
repository = "https://github.com/pzfreo/draftwright"

[features]
cli = [
    "dep:clap",
    "dep:clap_complete",
]
default = ["cli"]

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

[[bin]]
name = "draftwright"
path = "src/bin/draftwright.rs"
required-features = ["cli"]

[[bin]]
name = "draftwright-mcp"
path = "src/bin/draftwright-mcp.rs"
required-features = ["cli"]

[dependencies.base64]
version = "0.22.1"

[dependencies.chrono]
version = "0.4"
default-features = false

[dependencies.clap]
version = "4.6.1"
features = ["derive"]
optional = true

[dependencies.clap_complete]
version = "4.6"
optional = true

[dependencies.dxf]
version = "0.6.2"
features = ["serialize"]

[dependencies.flate2]
version = "1.1.10"

[dependencies.haecceity]
version = "=0.5.4"
features = ["json-import"]

[dependencies.pdf-writer]
version = "0.15"

[dependencies.png]
version = "0.18.1"

[dependencies.quiddity]
version = "=0.5.4"
features = ["presentation"]
default-features = false

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

[dependencies.serde_json]
version = "1.0.151"
features = [
    "float_roundtrip",
    "raw_value",
]

[dependencies.sha2]
version = "0.11.0"

[dependencies.subsetter]
version = "0.2.6"
default-features = false

[dependencies.tiny-skia]
version = "0.12.0"
features = ["std"]
default-features = false

[dependencies.ttf-parser]
version = "0.25.1"

[dependencies.uuid]
version = "1"
default-features = false

[dev-dependencies.flate2]
version = "1.1.10"

[dev-dependencies.serde_json]
version = "1.0.151"
features = [
    "float_roundtrip",
    "raw_value",
]

[dev-dependencies.syn]
version = "2"
features = [
    "full",
    "visit",
]

[build-dependencies.sha2]
version = "0.11.0"

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.3"
features = ["wasm_js"]

[target.'cfg(target_arch = "wasm32")'.dependencies.uuid]
version = "1"
features = ["js"]
default-features = false

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

[profile.wasm-release.package.step-io]
opt-level = "s"