Logo
Explore Help
Sign In
jesus/dir-odt-to-pdf
1
0
Fork 0
You've already forked dir-odt-to-pdf
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
dir-odt-to-pdf/.cargo/config.toml

5 lines
103 B
TOML
Raw Normal View History

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
[test]
rustflags = ["--cfg", "feature=\"test-sync\""]
[env]
RUSTFLAGS = "--cfg feature=\"test-sync\""
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 23ms Template: 1ms
English
English
Licenses API