4.0.0
Breaking changes
-
Removed
TryFrom
impls for&Bytes
and&[u8]
types. The only conversion
is possible from&str
now. Changed the validation to use&str
instead of
&[u8]
. The main reason I made this change is that it makes no sense to
convert from a ASCII-encoded&[u8]
not have it as&str
. The conversion
can alerady be done withfrom_utf8()
, no need to repeat it there. -
Removed
Display
impl fromTurkishIdError
completely as derivingDebug
already does it.
This might mean that any code that relies on the fmt output ofTurkishIdError
might break.