Skip to main content

ant_types/
lib.rs

1//! Record types of the open Antares format.
2//!
3//! This is the publishable subset of the engine's domain model: the
4//! things that appear IN a `.ant` file and nothing else. `antares-core`
5//! re-exports all of it, so engine code is unaffected — but the split
6//! is what lets `ant-types` + `antares-format` be published to
7//! `openantares/ant` without dragging along engine-internal concerns,
8//! which stay private.
9//!
10//! Apache-2.0, and free of `utoipa` unless the `utoipa` feature is
11//! enabled by the engine.
12
13pub mod author;
14pub mod belief;
15pub mod decimal;
16pub mod error;
17pub mod evidence;
18pub mod graph;
19pub mod ids;
20pub mod observation;
21pub mod property;
22pub mod schema;
23
24pub use author::{AuthorStamp, SubjectType, TokenId, UserId};
25pub use belief::{Belief, BeliefId};
26pub use decimal::Decimal;
27pub use error::CoreError;
28pub use evidence::{Evidence, EvidenceId};
29pub use graph::{Edge, PropertyValue, Vertex};
30pub use ids::{EdgeId, Namespace, ProjectId, TenantId, TypeName, VertexId};
31pub use observation::{Observation, ObservationId};
32pub use schema::*;