Expand description
Core processing engines (formats, matching, sync).
Legacy re-export: the module now lives in the subx-core crate; the
canonical path is subx_core::core. This alias exists for consumers
that have not yet migrated and will be removed once they have.
Core processing engine for SubX.
This module contains core subsystems for file operations, subtitle format handling, language detection, matching algorithms, parallel processing, synchronization, and dependency injection management.
Each subsystem is organized into its own submodule:
file_managerfor safe file operations with rollback supportformatsfor parsing and converting subtitle formatslanguagefor language detection and handlinginputfor input path collection, directory scanning and archive extractionmatcherfor AI-powered subtitle matching algorithmsparallelfor task scheduling and parallel executionreportfor the transport-agnostic reporting seam core reports throughsyncfor audio-text synchronization enginesfactoryfor component creation with dependency injectionservicesfor service container and dependency management
Modules§
- archive
- Archive extraction support for SubX.
- factory
- Component factory for creating configured instances of core components.
- file_
manager - Safe file operation management with atomic rollback capabilities.
- formats
- Comprehensive subtitle format handling and conversion system.
- fs_util
- Utility functions for filesystem operations with CIFS compatibility.
- input
- Core-owned input path collection.
- language
- Language detection module.
- lock
- Exclusive file-lock infrastructure for SubX operations.
- matcher
- AI-powered subtitle file matching and discovery engine.
- parallel
- High-performance parallel processing system for subtitle operations.
- report
- Transport-agnostic reporting seam for
src/core/andsrc/services/. - sync
- Refactored sync module focused on VAD (Voice Activity Detection).
- translation
- Core subtitle translation engine.
- uuidv7
- Shared UUIDv7 identifier generation with strict 1ms spacing.
Structs§
- Component
Factory - Component factory for creating configured instances.