Skip to content

Commit

Permalink
Re-export from ixa inner modules. Fixes #86 (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekr-cfa authored Dec 2, 2024
1 parent ab6f9d1 commit a518581
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/load-people/population_loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down
15 changes: 15 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};

0 comments on commit a518581

Please sign in to comment.