Skip to main content

Crate openbim

Crate openbim 

Source
Expand description

openbim — a facade over the openBIM standards.

Enable only what you need:

openbim = { version = "0.1", features = ["ids"] }

§Why the standards are separate crates

Cargo features are additive across the whole dependency graph. If every standard were a feature of one crate, then any dependency anywhere enabling icdd would make everyone compile an RDF stack — including a consumer that only wanted to read a .ids file.

Separate packages make that structurally impossible: a crate not named in your feature set is never built. This facade exists so the convenience of one dependency line is still available, and it re-exports only. See docs/adr/0015.

§Available features

FeatureCrateStandard
dtopenbim-dtISO 23387 data templates
idsopenbim-idsbuildingSMART IDS
bcfopenbim-bcfBCF (BIM Collaboration Format)
icddopenbim-icddISO 21597 ICDD
idmopenbim-idmISO 29481-3 idmXML
loinopenbim-loinISO 7817-3 / EN 17412-3 LOIN
fullall of the above

loin implies dt, because the LOIN schema imports ISO 23387.

No feature is on by default: depending on openbim must never cost more than the shared vocabulary in core.

§Status

Scaffold. core carries real types; the standard crates are name reservations with no parsing yet. Nothing here silently pretends to validate a model.

Re-exports§

pub use openbim_core as core;