Releases: MidasLamb/non-empty-string
Releases · MidasLamb/non-empty-string
v0.2.5
v0.2.4
Added
- impl Hash trait
- impl Into trait
- FromStr implementation
- add Deref impl
Other
- Add release plz
- Remove excessive error file
- Add more traits that
String
also has - Add cargo-semver-checks to CI
- error::EmptyString is now public
- Merge branch 'MidasLamb:master' into constructors
- cover parse() in tests::from_str_works
- fix example description about constructor
- clear unnecessary paths
- Release version v0.2.3
Added
- More traits from
String
implemented onNonEmptyString
- Index
- Add
- AddAssign
- Extend
- Write
- PartialEq with
str
&String
Changed
Removed
v0.2.3
Added
- Add
Display
implementation (#8, thanks to @jonhteper) - Align errors in
TryFrom
implementations (#8, thanks to @jonhteper)
v0.2.2
v0.2.1
v0.2.0
Added
serde
support behind theserde
feature flag.Eq, PartialEq, Ord, PartialOrd
are now implemented forNonEmptyString
.get
to retrieve a reference to the inner value.
Changed
new
constructor now returns aResult
rather than anOption
, which contains the original string