lib3mf 0.1.5

Pure Rust implementation for 3MF (3D Manufacturing Format) parsing and writing
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 = "lib3mf"
version = "0.1.5"
authors = ["lib3mf_rust contributors"]
build = false
exclude = [
    ".github/",
    "*.sh",
    "*.py",
    "benches/",
    "docs/",
    "examples/",
    "fuzz/",
    "test_suites/",
    "test_files/",
    "tests/",
    "tools/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure Rust implementation for 3MF (3D Manufacturing Format) parsing and writing"
homepage = "https://github.com/telecos/lib3mf_rust"
documentation = "https://docs.rs/lib3mf"
readme = "README.md"
keywords = [
    "3mf",
    "3d",
    "manufacturing",
    "3dprinting",
    "opc",
]
categories = [
    "parser-implementations",
    "encoding",
]
license = "MIT"
repository = "https://github.com/telecos/lib3mf_rust"

[features]
ci = []
crypto = [
    "dep:rsa",
    "dep:aes-gcm",
    "dep:base64",
    "dep:flate2",
    "dep:sha1",
    "dep:sha2",
]
default = [
    "mesh-ops",
    "polygon-ops",
]
mesh-ops = [
    "dep:parry3d",
    "dep:nalgebra",
]
polygon-ops = [
    "dep:clipper2",
    "dep:earcutr",
]

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

[dependencies.aes-gcm]
version = "0.10"
optional = true

[dependencies.base64]
version = "0.22"
optional = true

[dependencies.clipper2]
version = "0.5"
optional = true

[dependencies.earcutr]
version = "0.5"
optional = true

[dependencies.flate2]
version = "1.1"
optional = true

[dependencies.nalgebra]
version = "0.34"
optional = true

[dependencies.parry3d]
version = "0.26"
optional = true

[dependencies.quick-xml]
version = "0.39.2"

[dependencies.rsa]
version = "0.9"
optional = true

[dependencies.sha1]
version = "0.10"
optional = true

[dependencies.sha2]
version = "0.10"
optional = true

[dependencies.thiserror]
version = "2.0"

[dependencies.urlencoding]
version = "2.1"

[dependencies.zip]
version = "8"
features = ["deflate-flate2-zlib-rs"]
default-features = false

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

[dev-dependencies.image]
version = "0.25"

[dev-dependencies.libtest-mimic]
version = "0.8"

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

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

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.tempfile]
version = "3.25"

[dev-dependencies.walkdir]
version = "2.5"

[dev-dependencies.zip]
version = "8"
features = ["deflate-flate2-zlib-rs"]
default-features = false

[lints.rust]
unsafe_code = "forbid"