[package]
edition = "2021"
rust-version = "1.88"
name = "cadmpeg-codec-nx"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Read Parasolid geometry and topology from NX .prt files."
homepage = "https://github.com/cadmpeg/cadmpeg"
documentation = "https://docs.rs/cadmpeg-codec-nx"
readme = "README.md"
keywords = [
"cad",
"siemens-nx",
"parasolid",
"prt",
"geometry",
]
categories = [
"encoding",
"parser-implementations",
"graphics",
]
license = "Apache-2.0"
repository = "https://github.com/cadmpeg/cadmpeg"
[lib]
name = "cadmpeg_codec_nx"
path = "src/lib.rs"
[dependencies.cadmpeg-ir]
version = "0.3.0"
[dependencies.flate2]
version = "1"
[dependencies.roxmltree]
version = "0.21"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.sha2]
version = "0.11"
[dev-dependencies.serde_json]
version = "1"
features = ["float_roundtrip"]
[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
dbg_macro = "warn"
disallowed_methods = "allow"
float_cmp = "allow"
match_same_arms = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
similar_names = "allow"
single_match_else = "allow"
todo = "warn"
too_many_lines = "allow"
unimplemented = "warn"
unwrap_used = "warn"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"