Skip to main content

cim_kit/generated/
mod.rs

1// @generated by `cargo xtask codegen` from the CIM/CGMES RDFS vocabularies.
2// Do not edit by hand; edit the generator and regenerate.
3//
4// The RDFS vocabularies this file is derived from are published by ENTSO-E and the
5// UCA International Users Group under the Apache License 2.0.
6
7//! Generated CIM schema vintages.
8//!
9//! Each vintage is behind a feature of the same name.
10
11#[cfg(feature = "cgmes2")]
12pub mod cgmes2;
13#[cfg(feature = "cgmes3")]
14pub mod cgmes3;
15
16/// Every schema vintage compiled into this build, in feature order.
17///
18/// Empty when no vintage feature is enabled. [`Schema::detect`](crate::schema::Schema::detect)
19/// searches this to identify a document from the namespaces it declares.
20pub static VINTAGES: &[&crate::schema::Schema] = &[
21    #[cfg(feature = "cgmes3")]
22    cgmes3::SCHEMA,
23    #[cfg(feature = "cgmes2")]
24    cgmes2::SCHEMA,
25];