#[cfg(not(any(feature = "git-overlay", feature = "native")))]
compile_error!(
"At least one of the `git-overlay` or `native` features must be enabled. \
The OSS CLI ships as git-overlay-only, native-only, or both."
);
pub mod cli;
pub mod exit;
pub mod harness;
mod hosted_failure;
pub mod identity_freeze;
pub mod identity_stamp;
pub mod operation_id;
pub mod perf;
#[cfg(feature = "semantic")]
pub mod semantic;
pub mod ts_codegen;
pub mod util;
pub use ::config::{
LogFormat, LoggingConfig, LoggingGuard, OutputMode, config, init_logging, init_logging_default,
is_enabled, log_operation, log_repo_event, logging,
};
pub use objects::{
error::{HeddleError, HeddleError as StoreError},
store::ObjectStore,
};
pub use repo::{Repository, remote};
pub type StoreResult<T> = objects::error::Result<T>;
#[cfg(feature = "client")]
pub fn register_hosted_factory() {
hosted_client::register_hosted_factory();
}
#[cfg(test)]
mod object_graph_tests;