Files
Oxicloud/src/lib.rs
T

39 lines
1.5 KiB
Rust
Raw Normal View History

2026-03-04 23:29:20 +01:00
#![allow(async_fn_in_trait)]
// 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;
// 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;
// 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;
// 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;
// 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;
pub use domain::services::path_service::StoragePath;
2026-02-14 01:29:34 +01:00
pub use infrastructure::services::path_service::PathService;