Add orjson JSON serializer for FastAPI & structlog performance

This commit is contained in:
2024-11-01 19:17:57 -05:00
parent b561ec6998
commit 43bf96e5c1
6 changed files with 91 additions and 7 deletions

View File

@@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Added the `orjson` serializer for faster JSON serialization
- Used in `structlog`'s `JSONRenderer` for production logging
- Used in `fastapi`'s `Response` for faster response serialization
- Improved documentation in multiple files
- `__main__.py`
- `logging.py`