[package]
edition = "2021"
rust-version = "1.88"
name = "ifc-schema"
version = "0.2.4"
authors = ["point-grey"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "IFC schema as data: entity table, supertype chain, attribute names."
readme = "README.md"
license = "AGPL-3.0-or-later"
repository = "https://github.com/openbimrs/ifc"
[features]
default = ["ifc4"]
generation = ["ifc4"]
ifc4 = [
"dep:bincode",
"dep:thiserror",
]
[lib]
name = "ifc_schema"
path = "src/lib.rs"
[[bin]]
name = "ifc-schema-generate"
path = "tools/generate.rs"
required-features = ["generation"]
[[example]]
name = "export_structural_catalog"
path = "examples/export_structural_catalog.rs"
[[test]]
name = "direct_structural_catalog_export"
path = "tests/direct_structural_catalog_export.rs"
[[test]]
name = "real_schemas"
path = "tests/real_schemas.rs"
[[test]]
name = "select_membership"
path = "tests/select_membership.rs"
[[test]]
name = "structural_catalog_export"
path = "tests/structural_catalog_export.rs"
[[test]]
name = "subtypes"
path = "tests/subtypes.rs"
[dependencies.ahash]
version = "0.8"
features = ["std"]
default-features = false
[dependencies.bincode]
version = "2.0.1"
optional = true
[dependencies.openbim-step]
version = "=0.5.1"
[dependencies.thiserror]
version = "2.0"
optional = true
[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.ahash]
version = "0.8"
features = [
"std",
"compile-time-rng",
]
default-features = false
[target.'cfg(not(all(target_arch = "wasm32", target_os = "unknown")))'.dependencies.ahash]
version = "0.8"
features = [
"std",
"runtime-rng",
]
default-features = false
[lints.rust]
missing_docs = "deny"