Commit d6effab
docs: Add comprehensive doc tests and update encryption documentation
- Added comprehensive doc tests to KeyManager::new() method with PostgreSQL and MySQL examples
- Added doc tests to KeyManager::generate_key() method with different key types and patterns
- Added doc tests to KeyManager::get_key() method with error handling examples
- Added doc tests to KeyManager::rotate_key() method with rotation workflow examples
- Added doc tests to all KeyManagerConfig builder methods with practical examples
- Added comprehensive key rotation workflow example to module-level documentation
- Updated outdated documentation references and removed obsolete rotate_key_if_needed references
- Fixed broken code block in module documentation
- All documentation now compiles correctly with proper feature guards
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>1 parent f6d9656 commit d6effab
2 files changed
+437
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
535 | 535 | | |
536 | 536 | | |
537 | 537 | | |
538 | | - | |
539 | | - | |
540 | | - | |
541 | | - | |
542 | | - | |
543 | | - | |
544 | | - | |
545 | | - | |
546 | | - | |
547 | | - | |
548 | | - | |
549 | | - | |
550 | | - | |
551 | | - | |
552 | | - | |
553 | | - | |
554 | | - | |
555 | | - | |
556 | | - | |
557 | | - | |
558 | | - | |
559 | | - | |
560 | | - | |
561 | | - | |
562 | 538 | | |
563 | 539 | | |
564 | 540 | | |
| |||
0 commit comments