Summary
This release adds a number of convenience features and bumps MSRV to 1.73.
While this is a major version release, the breaking changes are very small. In particular the From
implementations for SlotDuration
and DurationSeconds
were removed since they would sometimes panic. They have been replace with TryFrom
implementations that return an Err
instead.
Changes
- Set minimum supported Rust version to 1.73.
- Make fields of CIS4 events public.
- Remove the
From<SlotDuration>
andFrom<DurationSeconds>
implementations
forchrono::Duration
and replace them with fallibleTryFrom
implementations that fail when durations overflow. ContractAddress::new
ContractName
,ReceiveName
,EntrypointName
, andParameter
new_unchecked
constructors are madeconst
so they can be used when
defining constants. SimilarlyParameter::empty
isconst
now.