2026-03-04 23:29:20 +01:00
|
|
|
#![allow(async_fn_in_trait)]
|
|
|
|
|
|
2026-02-12 09:41:25 +01:00
|
|
|
// Export the main project modules
|
2026-02-14 01:29:34 +01:00
|
|
|
pub mod application;
|
2025-03-19 00:44:27 +01:00
|
|
|
pub mod common;
|
|
|
|
|
pub mod domain;
|
|
|
|
|
pub mod infrastructure;
|
|
|
|
|
pub mod interfaces;
|
|
|
|
|
|
2026-08-28 20:37:36 +02:00
|
|
|
// Operator-tools subcommand tree, dispatched from `src/main.rs` when
|
|
|
|
|
// the first positional arg matches a known domain (`opaque`, `migrate`).
|
|
|
|
|
// Previously lived in a standalone `oxicloud-cli` binary; folded in so
|
|
|
|
|
// the release tarball ships one executable — see
|
|
|
|
|
// docs/plan/bundled-binary.md § Deliverable 1b.
|
|
|
|
|
pub mod cli;
|
|
|
|
|
|
2026-05-31 23:15:40 +02:00
|
|
|
// Test-only helpers for #[cfg(integration_tests)] modules across the
|
|
|
|
|
// crate (shared pool URL guard + pre-suite cleanup OnceCell).
|
|
|
|
|
#[cfg(integration_tests)]
|
|
|
|
|
pub mod integration_test_support;
|
|
|
|
|
|
2026-06-24 23:52:01 -06:00
|
|
|
// Shared testcontainers-backed harness for external-mount integration tests.
|
|
|
|
|
// Gated on `test` too because it links the `testcontainers` dev-dependency,
|
|
|
|
|
// which is only available to test targets (not the plain lib build).
|
|
|
|
|
#[cfg(all(test, integration_tests))]
|
|
|
|
|
mod mount_it_support;
|
|
|
|
|
|
2026-06-21 15:13:03 +02:00
|
|
|
// Phase 0 perf-benchmark support: deterministic image corpus generation/loading
|
|
|
|
|
// shared by `benches/thumbnails.rs` and `examples/bench_thumbnails_mem.rs`.
|
|
|
|
|
// Gated behind the `bench` feature so it adds nothing to normal builds.
|
|
|
|
|
#[cfg(feature = "bench")]
|
|
|
|
|
pub mod bench_support;
|
|
|
|
|
|
2026-02-12 09:41:25 +01:00
|
|
|
// Common public re-exports
|
2025-03-19 00:44:27 +01:00
|
|
|
pub use application::services::folder_service::FolderService;
|
|
|
|
|
pub use application::services::i18n_application_service::I18nApplicationService;
|
2026-02-02 23:56:40 +01:00
|
|
|
pub use domain::services::path_service::StoragePath;
|
2026-02-14 01:29:34 +01:00
|
|
|
pub use infrastructure::services::path_service::PathService;
|