#![doc = include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "/docs/book/src/cli-usage.md"))]
pub mod context;
pub use context::{Context, ContextBase, ExecutionPhase, IxaEvent};
mod plugin_context;
pub use plugin_context::PluginContext;
mod data_plugin;
pub use data_plugin::*;
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 macros;
pub mod people;
pub use people::{
ContextPeopleExt, PersonCreatedEvent, PersonId, PersonProperty, PersonPropertyChangeEvent,
};
pub mod plan;
pub mod random;
pub use random::{ContextRandomExt, RngId};
pub mod tabulator;
pub use tabulator::Tabulator;
pub mod report;
pub use report::{ConfigReportOptions, ContextReportExt, Report};
pub mod runner;
pub use runner::{run_with_args, run_with_custom_args, BaseArgs};
#[cfg(feature = "debugger")]
pub mod debugger;
pub mod log;
pub use log::{
debug, disable_logging, enable_logging, error, info, set_log_level, set_module_filter,
set_module_filters, trace, warn, LevelFilter,
};
#[cfg(feature = "progress_bar")]
pub mod progress;
#[cfg(feature = "debugger")]
pub mod external_api;
pub mod hashing;
pub mod numeric;
#[cfg(feature = "web_api")]
pub mod web_api;
pub use ixa_derive::{impl_make_canonical, sorted_tag, sorted_value_type};
pub use {bincode, csv, ctor, paste, rand};
pub use crate::hashing::{HashMap, HashMapExt, HashSet, HashSetExt};
pub mod prelude;
pub mod prelude_for_plugins {
pub use ixa_derive::IxaEvent;
pub use crate::context::{ContextBase, IxaEvent};
pub use crate::define_data_plugin;
pub use crate::error::IxaError;
pub use crate::prelude::*;
}
pub mod execution_stats;
pub mod profiling;
#[cfg(all(target_arch = "wasm32", feature = "debugger"))]
compile_error!(
"Target `wasm32` and feature `debugger` are mutually exclusive — enable at most one."
);
#[cfg(all(target_arch = "wasm32", feature = "progress_bar"))]
compile_error!(
"Target `wasm32` and feature `progress_bar` are mutually exclusive — enable at most one."
);
#[cfg(target_family = "wasm")]
use wasm_bindgen::prelude::wasm_bindgen;
#[cfg(target_family = "wasm")]
mod wasm_workaround {
extern "C" {
pub(super) fn __wasm_call_ctors();
}
}
#[cfg(target_family = "wasm")]
#[wasm_bindgen(start)]
fn start() {
#[cfg(target_family = "wasm")]
unsafe {
wasm_workaround::__wasm_call_ctors()
};
}