readable
Human readable strings
0.16.0
10M downloads/mo
#3047 most downloaded on crates.io
hinto-janai/readable
What this package is like to depend on
Last release 3 years ago
no release in 18 months
Release timing varies
gaps range from 8 days to 3 months
Rarely documented
notes for 7 of 43 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
43 releases · first in 2023
0 releases in the last 12 months
see the full history below
Release timeline
43 releases · Mar 2023 to Dec 2023Releases
latest 43-
0.16.026 Dec 2023Release notes
Open source →Added
- Impl
TryFrom<[u8]>forStr - Impl
borsh::{BorshSerialize, BorshDeserialize}on most types
Changed
- Modules are now feature gated
- Types are no longer re-exported, must be accessed through modules
FloatandPercentnow useStrinternally, allowsconst, fixed-size stack usage, andCopyHeadTailnow requiresAsRef<str>Str::invalid()is nowconstStr::as_str()now panics in debug mode whenStr::invalid()returnstrueStr::from_bytes_exact()takesimpl AsRef<[u8]>instead of&[u8]
Removed
Str::capacity()
Fixed
Int::try_from()aNonZeroU*
Release notes
Open source →Added
- Impl
TryFrom<[u8]>forStr - Impl
borsh::{BorshSerialize, BorshDeserialize}on most types
Changed
- Modules are now feature gated
- Types are no longer re-exported, must be accessed through modules
FloatandPercentnow useStrinternally, allowsconst, fixed-size stack usage, andCopyHeadTailnow requiresAsRef<str>Str::invalid()is nowconstStr::as_str()now panics in debug mode whenStr::invalid()returnstrueStr::from_bytes_exact()takesimpl AsRef<[u8]>instead of&[u8]
Removed
Str::capacity()
Fixed
Int::try_from()aNonZeroU*
- Impl
-
0.15.022 Dec 2023Release notes
Open source →Changed
#[must_use]on applicable functionsStr::as_bytes_mut()is nowunsafeStr::from_bytes_exact()is nowunsafeStr::from_str_exact()takesimpl AsRef<str>instead of&str
Removed
- Redundant function constructors for
consttypes (e.gUptime::day()->Uptime::DAY)
Release notes
Open source →Changed
#[must_use]on applicable functionsStr::as_bytes_mut()is nowunsafeStr::from_bytes_exact()is nowunsafeStr::from_str_exact()takesimpl AsRef<str>instead of&str
Removed
- Redundant function constructors for
consttypes (e.gUptime::day()->Uptime::DAY)
-
0.14.004 Dec 2023Release notes
Open source →Added
readable::date::*:- impl
TryFrom<(u16, u8, u8)> - impl
TryFrom<(u16, u8)> - impl
TryFrom<u16>
- impl
readable::str::Str:- impl
std::fmt::Write - impl
Index - impl
Extend<char>,Extend<&str> - impl
DerefandAsRef - impl
AddandAddAssign push_{str,char}_unchecked()->push_{str,char}_panic()- add
push_char_*()variants - add
push_str_saturating() - add
remove() - add
pop() - add
truncate() - add
make_ascii_uppercase(),make_ascii_lowercase() - add
as_bytes_mut(),as_mut_ptr(),as_str_mut()
- impl
Release notes
Open source →Added
readable::date::*:- impl
TryFrom<(u16, u8, u8)> - impl
TryFrom<(u16, u8)> - impl
TryFrom<u16>
- impl
readable::str::Str:- impl
std::fmt::Write - impl
Index - impl
Extend<char>,Extend<&str> - impl
DerefandAsRef - impl
AddandAddAssign push_{str,char}_unchecked()->push_{str,char}_panic()- add
push_char_*()variants - add
push_str_saturating() - add
remove() - add
pop() - add
truncate() - add
make_ascii_uppercase(),make_ascii_lowercase() - add
as_bytes_mut(),as_mut_ptr(),as_str_mut()
- impl
-
0.13.024 Oct 2023Release notes
Open source →Added
Timetype for clock time -11:59:59 PMMilitarytype for military-style clock time -23:59:59readable::timefree functions (unix(),unix_clock(),secs_to_hms(), etc)readable::datefree functions (from_unix(),as_unix(), etc)SysUptime,SysTime,SysDatetraits for getting live-system info
Changed
- Uptime modules renamed for clarity
readable::time->readable::up - Time-like types from
readable::dateintotimemodule
Release notes
Open source →Added
Timetype for clock time -11:59:59 PMMilitarytype for military-style clock time -23:59:59readable::timefree functions (unix(),unix_clock(),secs_to_hms(), etc)readable::datefree functions (from_unix(),as_unix(), etc)SysUptime,SysTime,SysDatetraits for getting live-system info
Changed
- Uptime modules renamed for clarity
readable::time->readable::up - Time-like types from
readable::dateintotimemodule
-
0.12.020 Oct 2023Release notes
Open source →Added
Nichitype for calendar date formatting (Fri, Dec 25, 2020)NichiFulltype for calendar date formatting (Friday, December 25th, 2020)TimeUnittype for remainder time measuring (61==1 minute, 1 second)Fromimpl forstd::time::Durationfrom allreadable::timeandreadable::runtypesDefaultimpl forStr
Removed
- Feature-flags (except for
serde&bincode)
Release notes
Open source →Added
Nichitype for calendar date formatting (Fri, Dec 25, 2020)NichiFulltype for calendar date formatting (Friday, December 25th, 2020)TimeUnittype for remainder time measuring (61==1 minute, 1 second)Fromimpl forstd::time::Durationfrom allreadable::timeandreadable::runtypesDefaultimpl forStr
Removed
- Feature-flags (except for
serde&bincode)
-
0.11.016 Oct 2023Release notes
Open source →Added
Htoptype inreadable::timeforhtop-style uptime formattingUptimetrait for getting system uptime and formatting directly into aTime,TimeFullorHtopTryFromimplementations from smart pointer strings (Arc<str>,Box<str>, etc) forStr
Changed
Str::from_str()->Str::from_str_exact()Str::from_bytes()->Str::from_bytes_exact()Time::UNKNOWNchanged from???to(unknown)TimeFull::UNKNOWNchanged from???to(unknown)
Release notes
Open source →Added
Htoptype inreadable::timeforhtop-style uptime formattingUptimetrait for getting system uptime and formatting directly into aTime,TimeFullorHtopTryFromimplementations from smart pointer strings (Arc<str>,Box<str>, etc) forStr
Changed
Str::from_str()->Str::from_str_exact()Str::from_bytes()->Str::from_bytes_exact()Time::UNKNOWNchanged from???to(unknown)TimeFull::UNKNOWNchanged from???to(unknown)
-
0.10.005 Oct 2023 -
0.9.004 Oct 2023Nothing published for this version
-
0.8.1315 Jul 2023Nothing published for this version
-
0.8.1207 Jul 2023Nothing published for this version
-
0.8.1106 Jul 2023Nothing published for this version
-
0.8.1029 Jun 2023Nothing published for this version
-
0.8.923 Jun 2023Nothing published for this version
-
0.8.729 May 2023Nothing published for this version
-
0.8.623 May 2023Nothing published for this version
-
0.8.518 May 2023Nothing published for this version
-
0.8.417 May 2023Nothing published for this version
-
0.8.314 May 2023Nothing published for this version
-
0.8.204 May 2023Nothing published for this version
-
0.8.130 Apr 2023Nothing published for this version
-
0.8.029 Apr 2023Nothing published for this version
-
0.7.828 Apr 2023Nothing published for this version
-
0.7.726 Apr 2023Nothing published for this version
-
0.7.618 Apr 2023Nothing published for this version
-
0.7.517 Apr 2023Nothing published for this version
-
0.7.410 Apr 2023Nothing published for this version
-
0.7.309 Apr 2023Nothing published for this version
-
0.7.208 Apr 2023Nothing published for this version
-
0.7.108 Apr 2023Nothing published for this version
-
0.7.008 Apr 2023Nothing published for this version
-
0.6.207 Apr 2023Nothing published for this version
-
0.6.106 Apr 2023Nothing published for this version
-
0.6.005 Apr 2023Nothing published for this version
-
0.5.003 Apr 2023Nothing published for this version
-
0.4.103 Apr 2023Nothing published for this version
-
0.4.003 Apr 2023Nothing published for this version
-
0.3.331 Mar 2023Nothing published for this version
-
0.3.226 Mar 2023Nothing published for this version
-
0.3.125 Mar 2023Nothing published for this version
-
0.3.021 Mar 2023Nothing published for this version
-
0.2.121 Mar 2023Nothing published for this version
-
0.2.021 Mar 2023Nothing published for this version
-
0.1.020 Mar 2023Nothing published for this version