1#[cfg(not(any(feature = "git-overlay", feature = "native")))]
8compile_error!(
9 "At least one of the `git-overlay` or `native` features must be enabled. \
10 The OSS CLI ships as git-overlay-only, native-only, or both."
11);
12
13pub(crate) mod attribution;
14pub mod bench;
15pub mod cli;
16pub mod client;
17pub mod exit;
18pub mod extensions;
19pub mod harness;
20mod hosted_failure;
21#[cfg(feature = "client")]
22mod hosted_runtime;
23pub mod operation_id;
24pub mod perf;
25#[cfg(feature = "semantic")]
26pub mod semantic;
27pub mod ts_codegen;
28pub mod util;
29
30pub use cli_shared::{
32 LogFormat, LoggingConfig, LoggingGuard, OutputMode, config, init_logging, init_logging_default,
33 is_enabled, log_operation, log_repo_event, logging, remote,
34};
35pub use objects::{
36 error::{HeddleError, HeddleError as StoreError},
37 store::ObjectStore,
38};
39pub use repo::Repository;
40pub type StoreResult<T> = objects::error::Result<T>;
41
42#[cfg(feature = "client")]
44pub fn register_hosted_factory() {
45 hosted_runtime::hosted::register_hosted_factory();
46}
47
48#[cfg(test)]
49mod object_graph_tests;