cadmpeg 0.6.2

Convert and inspect native CAD files.
# 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.88"
name = "cadmpeg"
version = "0.6.2"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "cadmpeg"
description = "Convert and inspect native CAD files."
homepage = "https://github.com/cadmpeg/cadmpeg"
documentation = "https://github.com/cadmpeg/cadmpeg/blob/main/crates/cadmpeg/README.md"
readme = "README.md"
keywords = [
    "cad",
    "converter",
    "step",
    "brep",
    "geometry",
]
categories = [
    "command-line-utilities",
    "encoding",
    "graphics",
]
license = "Apache-2.0"
repository = "https://github.com/cadmpeg/cadmpeg"

[features]
catia = [
    "cadmpeg-registry/catia",
    "dep:cadmpeg-codec-catia",
]
creo = [
    "cadmpeg-registry/creo",
    "dep:cadmpeg-codec-creo",
]
default = [
    "fcstd",
    "f3d",
    "inventor",
    "sldprt",
    "catia",
    "creo",
    "nx",
    "rhino",
    "step",
    "iges",
    "sat",
]
f3d = ["cadmpeg-registry/f3d"]
fcstd = [
    "cadmpeg-registry/fcstd",
    "dep:cadmpeg-codec-freecad",
]
iges = [
    "cadmpeg-registry/iges",
    "dep:cadmpeg-codec-iges",
]
inventor = ["cadmpeg-registry/inventor"]
nx = [
    "cadmpeg-registry/nx",
    "dep:cadmpeg-codec-nx",
]
rhino = [
    "cadmpeg-registry/rhino",
    "dep:cadmpeg-codec-rhino",
]
sat = ["cadmpeg-registry/sat"]
sldprt = [
    "cadmpeg-registry/sldprt",
    "dep:cadmpeg-codec-sldprt",
]
step = [
    "cadmpeg-registry/step",
    "dep:cadmpeg-codec-step",
]

[[bin]]
name = "cadmpeg"
path = "src/main.rs"

[[test]]
name = "cli"
path = "tests/cli/main.rs"

[[test]]
name = "codec_conformance"
path = "tests/codec_conformance.rs"

[[test]]
name = "corpus_manifest"
path = "tests/corpus_manifest.rs"

[[test]]
name = "inspect_bytes"
path = "tests/inspect_bytes.rs"

[[test]]
name = "layout_tables"
path = "tests/layout_tables/main.rs"

[[test]]
name = "low_confidence_inspect"
path = "tests/low_confidence_inspect.rs"

[[test]]
name = "query"
path = "tests/query.rs"

[[test]]
name = "query_graph"
path = "tests/query_graph.rs"

[[test]]
name = "query_join"
path = "tests/query_join.rs"

[[test]]
name = "query_schema_relations"
path = "tests/query_schema_relations.rs"

[dependencies.anyhow]
version = "1"

[dependencies.cadmpeg-codec-catia]
version = "0.6.2"
optional = true

[dependencies.cadmpeg-codec-creo]
version = "0.6.2"
optional = true

[dependencies.cadmpeg-codec-freecad]
version = "0.6.2"
optional = true

[dependencies.cadmpeg-codec-iges]
version = "0.6.2"
optional = true

[dependencies.cadmpeg-codec-nx]
version = "0.6.2"
optional = true

[dependencies.cadmpeg-codec-rhino]
version = "0.6.2"
optional = true

[dependencies.cadmpeg-codec-sldprt]
version = "0.6.2"
optional = true

[dependencies.cadmpeg-codec-step]
version = "0.6.2"
optional = true

[dependencies.cadmpeg-container]
version = "0.6.2"

[dependencies.cadmpeg-core]
version = "0.6.2"

[dependencies.cadmpeg-ir]
version = "0.6.2"
features = ["schema"]

[dependencies.cadmpeg-registry]
version = "0.6.2"
default-features = false

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.memchr]
version = "2"

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

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

[dependencies.sha2]
version = "0.11"

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "2"

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.cadmpeg-ir]
version = "0.6.2"
features = ["examples"]

[dev-dependencies.crc32fast]
version = "1"

[dev-dependencies.predicates]
version = "3"

[dev-dependencies.proc-macro2]
version = "1"
features = ["span-locations"]

[dev-dependencies.syn]
version = "3"
features = [
    "full",
    "parsing",
]

[dev-dependencies.toml]
version = "1"

[dev-dependencies.zip]
version = "9"
features = [
    "deflate-flate2",
    "zstd",
]
default-features = false

[lints.clippy]
as_conversions = "deny"
cast_lossless = "deny"
cast_possible_truncation = "deny"
cast_possible_wrap = "deny"
cast_precision_loss = "deny"
cast_sign_loss = "deny"
dbg_macro = "warn"
disallowed_methods = "allow"
float_cmp = "allow"
let_underscore_must_use = "deny"
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"
unreachable_pub = "deny"

[lints.rust.warnings]
level = "deny"
priority = -100