mii443 733646b6b8 refactor: Major overhaul with error handling, resilience patterns, and observability
- Add library configuration to support both lib and binary targets
- Implement unified error handling with NCBError throughout the codebase
- Add circuit breaker pattern for external API calls (Voicevox, GCP TTS)
- Introduce comprehensive performance metrics and monitoring
- Add cache persistence with disk storage support
- Implement retry mechanism with exponential backoff
- Add configuration file support (config.toml) with env var fallback
- Enhance logging with structured tracing (debug, warn, error levels)
- Add extensive unit tests for cache, metrics, and circuit breaker
- Update base64 decoding to use modern API
- Improve API error handling for Voicevox and GCP TTS clients

Breaking changes:
- Function signatures now return Result<T, NCBError> instead of panicking
- Cache key structure modified with serialization support
2025-05-28 01:01:12 +09:00
2025-05-25 22:51:01 +09:00
2022-08-05 11:08:56 +09:00
2025-04-03 03:04:35 +09:00
2022-12-07 03:24:49 +00:00
2022-10-31 12:46:59 +00:00
2025-05-25 22:27:42 +09:00
2025-05-25 00:10:08 +09:00
2022-08-04 22:21:12 +09:00
Description
No description provided
MIT 241 KiB
Languages
Rust 99.5%
Dockerfile 0.5%