Skip to content

ifc-author ​

Schema-checked IFC authoring: construct entities by attribute name with arity and type validation.

StatusImplemented
Latest release0.3.0 (2026-09-29)
Registriescrates.io ifc-author
Via the facadeopenbim-ifc feature author
API documentationrustdoc · docs.rs
Sourcecrates/ifc-author/

Overview ​

ifc-author — schema-checked construction and editing of IFC entities.

Depends on ​

Changes ​

Latest release, 0.3.0 (2026-09-29):

Changed (breaking) ​

  • PersonDraft, OrganizationDraft, ApplicationDraft and OwnerHistoryDraft are #[non_exhaustive] (#214), so a later release can add a field without another break. Struct literals no longer compile outside the crate: build each with new(...) and field-named setters, PersonDraft::new(), OrganizationDraft::new(name), ApplicationDraft::new(developer, version, full_name, identifier) and OwnerHistoryDraft::new(owning_user, owning_application, creation_date) (then e.g. .change_action("ADDED")). Fields stay public.

Changed ​

  • Links no bundled schema table itself: every entry point takes the Schema from the caller. A consumer that used a table through this crate's dependency (ifc_schema::ifc4()) enables it on its own ifc-schema dependency (default features bundle every release).
  • A type declaration form ifc-schema adds later resolves as unresolved (no refusal on shape, no form claim) instead of failing to compile; follows ifc_schema::TypeKind becoming #[non_exhaustive].

Full history: crates/ifc-author/CHANGELOG.md

Released under the AGPL-3.0-or-later licence. ISO and CEN standards material is not redistributed.