Commit 21f07e0
committed
feat: Add Codable conformance to HashAlgorithm
Added Codable conformance to HashAlgorithm enum for compatibility
with consuming packages that need to encode/decode hash algorithms.
This is required for FileSystemKit's DiskImageHash which needs to be Codable.
Changes:
- HashAlgorithm: String, Sendable, CaseIterable → String, Codable, Sendable, CaseIterable
- Version: 1.2.1 → 1.2.2
All 149 tests passing ✅1 parent e4b9fa4 commit 21f07e0
File tree
3 files changed
+6
-2
lines changed- Sources/DesignAlgorithmsKit
3 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments