All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.4.1 - 2023-10-16
- Take a reference to custom UR type identifiers
0.4.0 - 2023-08-04
- Added support for
no-std
environments. #183 - Introduced a type-safe
ur::Type
enum and aur::Encoder::bytes
shorthand constructor (see the below migration guide). #186 - Added
wasm
example. #191
Replace Encoder
constructors with bytes
schemes:
ur::Encoder::new(data, max_length, "bytes")
with:
ur::Encoder::bytes(data, max_length)
Leave all other Encoder
constructors as they are:
ur::Encoder::new(data, max_length, "my-scheme")
0.3.0 - 2023-01-07
- Added
ur::ur::decode
to the public API to decode a singleur
URI. #112 - Added
ur::ur::encode
andur::ur::decode
to the root library path. #112 - Bumped the Rust edition to 2021. #113
- Added an enum indicating whether the UR was single- or multip-part to
ur::ur::decode
. #121 - Migrated from
anyhow
errors to a custom error enum. #159 - Remove
std::fmt::Display
implementation ofPart
. #160
0.2.0 - 2021-12-08
- The public API has been greatly restricted
- All public methods and structs are documented and should be much more stable going forward
- Introduced fuzz testing
- Initial release