This removes Identity::{from_slice,from_be_slice}, which previously had the potential to panic. Since callers can just use try_into, I don't think we need this in the API.
API and ABI breaking changes
This removes two functions from the Identity lib. If we find that these are widely used, we could add back a safe version. Making this safe will always be a breaking change though, since we need to change the return type to a Result.
Expected complexity level and risk
1
Testing
Not much added testing, since this is a pretty mechanical change.
Description of Changes
This removes
Identity::{from_slice,from_be_slice}
, which previously had the potential to panic. Since callers can just usetry_into
, I don't think we need this in the API.API and ABI breaking changes
This removes two functions from the
Identity
lib. If we find that these are widely used, we could add back a safe version. Making this safe will always be a breaking change though, since we need to change the return type to a Result.Expected complexity level and risk
1
Testing
Not much added testing, since this is a pretty mechanical change.