diff --git a/examples/load-people/population_loader.rs b/examples/load-people/population_loader.rs index 31b40d5a..598e5c07 100644 --- a/examples/load-people/population_loader.rs +++ b/examples/load-people/population_loader.rs @@ -3,7 +3,7 @@ use std::path::Path; use crate::vaccine::{ContextVaccineExt, VaccineEfficacy, VaccineType}; use ixa::context::Context; use ixa::define_person_property; -use ixa::people::{ContextPeopleExt, PersonId}; +use ixa::{ContextPeopleExt, PersonId}; use serde::Deserialize; #[derive(Deserialize, Copy, Clone, PartialEq, Eq, Debug, Hash)] diff --git a/src/lib.rs b/src/lib.rs index 79cd64d0..cfdaa3b2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -27,10 +27,25 @@ //! * A transmission manager that models the process of an infected //! person trying to infect susceptible people in the population. pub mod context; +pub use context::{Context, ExecutionPhase, IxaEvent}; + pub mod error; +pub use error::IxaError; + pub mod global_properties; +pub use global_properties::{ContextGlobalPropertiesExt, GlobalProperty}; + pub mod network; +pub use network::{ContextNetworkExt, Edge, EdgeType}; + pub mod people; +pub use people::{ + ContextPeopleExt, PersonCreatedEvent, PersonId, PersonProperty, PersonPropertyChangeEvent, +}; + pub mod plan; pub mod random; +pub use random::{ContextRandomExt, RngId}; + pub mod report; +pub use report::{ConfigReportOptions, ContextReportExt, Report};