dir-odt-to-pdf/src
Jesús Pérex 13c65980ac refactor(logging): Improve thread safety and test configuration
This commit enhances the logging system with better thread safety and proper test configuration:

- Replace RefCell with RwLock in SimpleLogger for thread-safe logging
- Add proper feature flag configuration for test-sync
- Organize logging modules with clear separation between prod and test
- Update test files with proper feature flag annotations
- Fix module structure in lib.rs to avoid duplicate definitions

Technical changes:
- Use RwLock for thread-safe log writer access
- Add #![cfg(feature = "test-sync")] to all test files
- Configure .cargo/config.toml for test-sync feature
- Update Cargo.toml with proper test configurations
- Clean up logging module exports

This change ensures thread-safe logging in production while maintaining
separate test-specific synchronization primitives, improving overall
reliability and maintainability.
2025-05-27 09:57:16 +01:00
..
logging refactor(logging): Improve thread safety and test configuration 2025-05-27 09:57:16 +01:00
tests refactor(tests): improve test logging setup and organization 2025-05-27 00:59:44 +01:00
directory_processor.rs refactor: improve code to more idiomatic 2025-05-27 00:58:59 +01:00
error.rs refactor: improve code to more idiomatic 2025-05-27 00:58:59 +01:00
file_type.rs refactor: improve code to more idiomatic 2025-05-27 00:58:59 +01:00
lib.rs refactor(logging): Improve thread safety and test configuration 2025-05-27 09:57:16 +01:00
logging.rs refactor(logging): Improve thread safety and test configuration 2025-05-27 09:57:16 +01:00
main.rs refactor: improve code to more idiomatic 2025-05-27 00:58:59 +01:00
tests.rs refactor(tests): improve test logging setup and organization 2025-05-27 00:59:44 +01:00
tools.rs chore: +nightly fmt 2025-05-23 20:03:30 +01:00