[package]
edition = "2021"
name = "cadrum"
version = "0.4.4"
build = "build.rs"
exclude = [
"/figure",
"/notes",
"/steps",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust CAD library powered by OpenCASCADE (OCCT 7.9.3)"
readme = "README.md"
keywords = [
"opencascade",
"cad",
"step",
"b-rep",
"geometry",
]
categories = [
"graphics",
"science",
]
license = "MIT"
repository = "https://github.com/lzpel/cadrum"
[package.metadata.docs.rs]
targets = [
"x86_64-pc-windows-msvc",
"x86_64-unknown-linux-gnu",
]
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
color = []
default = ["color"]
[lib]
name = "cadrum"
path = "src/lib.rs"
[[example]]
name = "01_primitives"
path = "examples/01_primitives.rs"
[[example]]
name = "02_transform"
path = "examples/02_transform.rs"
[[example]]
name = "03_boolean"
path = "examples/03_boolean.rs"
[[example]]
name = "04_stretch"
path = "examples/04_stretch.rs"
[[example]]
name = "05_chijin"
path = "examples/05_chijin.rs"
[[example]]
name = "book"
path = "examples/book.rs"
[[test]]
name = "face"
path = "tests/face.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "integration_color"
path = "tests/integration_color.rs"
[[test]]
name = "integration_color_brep"
path = "tests/integration_color_brep.rs"
[[test]]
name = "integration_color_step"
path = "tests/integration_color_step.rs"
[[test]]
name = "shape"
path = "tests/shape.rs"
[[test]]
name = "svg"
path = "tests/svg.rs"
[[test]]
name = "union"
path = "tests/union.rs"
[[test]]
name = "utils"
path = "tests/utils.rs"
[dependencies.cxx]
version = "1"
[dependencies.glam]
version = "0.29"
features = ["std"]
[build-dependencies.cmake]
version = "0.1"
[build-dependencies.cxx-build]
version = "1"
[build-dependencies.libflate]
version = "2"
[build-dependencies.tar]
version = "0.4"
[build-dependencies.ureq]
version = "3"