disposition_model_common 0.2.0

SVG diagram generator common data model types.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! `OrderSet 1.x` doesn't implement `schemars::JsonSchema`, pending:
//!
//! <https://github.com/GREsau/schemars/pull/516>
//!
//! For now, we use an `IndexSet` when the `schemars` feature is enabled.
//!
//! In general, this library should be built with the `"schemars"` feature
//! disabled.
//!
//! Tests rely on `ordermap::Set` as some assertions expect order to be
//! preserved.

#[cfg(all(feature = "schemars", not(feature = "test")))]
pub use indexmap::IndexSet as Set;

#[cfg(any(not(feature = "schemars"), feature = "test"))]
pub use ordermap::OrderSet as Set;