Commit Graph
3 Commits
Author SHA1 Message Date
Dimitri Bouniol 2b771ddd16 Added the ability to specify a maximum depth for CBOR decoding
Closes #92
2024-03-26 16:12:07 +00:00
Hamilton Chapman 1fb6c0d326 Fix issue when trying to decode a mismatched type as a dictionary or an array
would lead to an empty container being decoded instead of an error being thrown.

We now correctly throw a `DecodingError.typeMismatch` error in cases like this.

Fixes: #59
2022-03-11 13:57:44 +00:00
Hamilton Chapman 80a90c3a60 Restructure and update repository to work with modern Swift Package Manager
conventions.
2021-12-15 18:10:44 +00:00