PackageTrack
Sign in Get early access

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 2023
2024 2025 2026
Release Pre-release

Releases

latest 43
  1. 0.16.0 26 Dec 2023
    Release notes

    Added

    • Impl TryFrom<[u8]> for Str
    • Impl borsh::{BorshSerialize, BorshDeserialize} on most types

    Changed

    • Modules are now feature gated
    • Types are no longer re-exported, must be accessed through modules
    • Float and Percent now use Str internally, allows const, fixed-size stack usage, and Copy
    • HeadTail now requires AsRef<str>
    • Str::invalid() is now const
    • Str::as_str() now panics in debug mode when Str::invalid() returns true
    • Str::from_bytes_exact() takes impl AsRef<[u8]> instead of &[u8]

    Removed

    • Str::capacity()

    Fixed

    • Int::try_from() a NonZeroU*
    Open source →
    Release notes

    Added

    • Impl TryFrom<[u8]> for Str
    • Impl borsh::{BorshSerialize, BorshDeserialize} on most types

    Changed

    • Modules are now feature gated
    • Types are no longer re-exported, must be accessed through modules
    • Float and Percent now use Str internally, allows const, fixed-size stack usage, and Copy
    • HeadTail now requires AsRef<str>
    • Str::invalid() is now const
    • Str::as_str() now panics in debug mode when Str::invalid() returns true
    • Str::from_bytes_exact() takes impl AsRef<[u8]> instead of &[u8]

    Removed

    • Str::capacity()

    Fixed

    • Int::try_from() a NonZeroU*

    Open source →
  2. 0.15.0 22 Dec 2023
    Release notes

    Changed

    • #[must_use] on applicable functions
    • Str::as_bytes_mut() is now unsafe
    • Str::from_bytes_exact() is now unsafe
    • Str::from_str_exact() takes impl AsRef<str> instead of &str

    Removed

    • Redundant function constructors for const types (e.g Uptime::day() -> Uptime::DAY)
    Open source →
    Release notes

    Changed

    • #[must_use] on applicable functions
    • Str::as_bytes_mut() is now unsafe
    • Str::from_bytes_exact() is now unsafe
    • Str::from_str_exact() takes impl AsRef<str> instead of &str

    Removed

    • Redundant function constructors for const types (e.g Uptime::day() -> Uptime::DAY)

    Open source →
  3. 0.14.0 04 Dec 2023
    Release notes

    Added

    • readable::date::*:
      • impl TryFrom<(u16, u8, u8)>
      • impl TryFrom<(u16, u8)>
      • impl TryFrom<u16>
    • readable::str::Str:
      • impl std::fmt::Write
      • impl Index
      • impl Extend<char>, Extend<&str>
      • impl Deref and AsRef
      • impl Add and AddAssign
      • 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()
    Open source →
    Release notes

    Added

    • readable::date::*:
      • impl TryFrom<(u16, u8, u8)>
      • impl TryFrom<(u16, u8)>
      • impl TryFrom<u16>
    • readable::str::Str:
      • impl std::fmt::Write
      • impl Index
      • impl Extend<char>, Extend<&str>
      • impl Deref and AsRef
      • impl Add and AddAssign
      • 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()

    Open source →
  4. 0.13.0 24 Oct 2023
    Release notes

    Added

    • Time type for clock time - 11:59:59 PM
    • Military type for military-style clock time - 23:59:59
    • readable::time free functions (unix(), unix_clock(), secs_to_hms(), etc)
    • readable::date free functions (from_unix(), as_unix(), etc)
    • SysUptime, SysTime, SysDate traits for getting live-system info

    Changed

    • Uptime modules renamed for clarity readable::time -> readable::up
    • Time-like types from readable::date into time module
    Open source →
    Release notes

    Added

    • Time type for clock time - 11:59:59 PM
    • Military type for military-style clock time - 23:59:59
    • readable::time free functions (unix(), unix_clock(), secs_to_hms(), etc)
    • readable::date free functions (from_unix(), as_unix(), etc)
    • SysUptime, SysTime, SysDate traits for getting live-system info

    Changed

    • Uptime modules renamed for clarity readable::time -> readable::up
    • Time-like types from readable::date into time module

    Open source →
  5. 0.12.0 20 Oct 2023
    Release notes

    Added

    • Nichi type for calendar date formatting (Fri, Dec 25, 2020)
    • NichiFull type for calendar date formatting (Friday, December 25th, 2020)
    • TimeUnit type for remainder time measuring (61 == 1 minute, 1 second)
    • From impl for std::time::Duration from all readable::time and readable::run types
    • Default impl for Str

    Removed

    • Feature-flags (except for serde & bincode)
    Open source →
    Release notes

    Added

    • Nichi type for calendar date formatting (Fri, Dec 25, 2020)
    • NichiFull type for calendar date formatting (Friday, December 25th, 2020)
    • TimeUnit type for remainder time measuring (61 == 1 minute, 1 second)
    • From impl for std::time::Duration from all readable::time and readable::run types
    • Default impl for Str

    Removed

    • Feature-flags (except for serde & bincode)

    Open source →
  6. 0.11.0 16 Oct 2023
    Release notes

    Added

    • Htop type in readable::time for htop-style uptime formatting
    • Uptime trait for getting system uptime and formatting directly into a Time, TimeFull or Htop
    • TryFrom implementations from smart pointer strings (Arc<str>, Box<str>, etc) for Str

    Changed

    • Str::from_str() -> Str::from_str_exact()
    • Str::from_bytes() -> Str::from_bytes_exact()
    • Time::UNKNOWN changed from ??? to (unknown)
    • TimeFull::UNKNOWN changed from ??? to (unknown)
    Open source →
    Release notes

    Added

    • Htop type in readable::time for htop-style uptime formatting
    • Uptime trait for getting system uptime and formatting directly into a Time, TimeFull or Htop
    • TryFrom implementations from smart pointer strings (Arc<str>, Box<str>, etc) for Str

    Changed

    • Str::from_str() -> Str::from_str_exact()
    • Str::from_bytes() -> Str::from_bytes_exact()
    • Time::UNKNOWN changed from ??? to (unknown)
    • TimeFull::UNKNOWN changed from ??? to (unknown)

    Open source →
  7. 0.10.0 05 Oct 2023
    Release notes

    First "public" release.

    Open source →
    Release notes

    First "public" release.

    Open source →
  8. 0.9.0 04 Oct 2023

    Nothing published for this version

  9. 0.8.13 15 Jul 2023

    Nothing published for this version

  10. 0.8.12 07 Jul 2023

    Nothing published for this version

  11. 0.8.11 06 Jul 2023

    Nothing published for this version

  12. 0.8.10 29 Jun 2023

    Nothing published for this version

  13. 0.8.9 23 Jun 2023

    Nothing published for this version

  14. 0.8.7 29 May 2023

    Nothing published for this version

  15. 0.8.6 23 May 2023

    Nothing published for this version

  16. 0.8.5 18 May 2023

    Nothing published for this version

  17. 0.8.4 17 May 2023

    Nothing published for this version

  18. 0.8.3 14 May 2023

    Nothing published for this version

  19. 0.8.2 04 May 2023

    Nothing published for this version

  20. 0.8.1 30 Apr 2023

    Nothing published for this version

  21. 0.8.0 29 Apr 2023

    Nothing published for this version

  22. 0.7.8 28 Apr 2023

    Nothing published for this version

  23. 0.7.7 26 Apr 2023

    Nothing published for this version

  24. 0.7.6 18 Apr 2023

    Nothing published for this version

  25. 0.7.5 17 Apr 2023

    Nothing published for this version

  26. 0.7.4 10 Apr 2023

    Nothing published for this version

  27. 0.7.3 09 Apr 2023

    Nothing published for this version

  28. 0.7.2 08 Apr 2023

    Nothing published for this version

  29. 0.7.1 08 Apr 2023

    Nothing published for this version

  30. 0.7.0 08 Apr 2023

    Nothing published for this version

  31. 0.6.2 07 Apr 2023

    Nothing published for this version

  32. 0.6.1 06 Apr 2023

    Nothing published for this version

  33. 0.6.0 05 Apr 2023

    Nothing published for this version

  34. 0.5.0 03 Apr 2023

    Nothing published for this version

  35. 0.4.1 03 Apr 2023

    Nothing published for this version

  36. 0.4.0 03 Apr 2023

    Nothing published for this version

  37. 0.3.3 31 Mar 2023

    Nothing published for this version

  38. 0.3.2 26 Mar 2023

    Nothing published for this version

  39. 0.3.1 25 Mar 2023

    Nothing published for this version

  40. 0.3.0 21 Mar 2023

    Nothing published for this version

  41. 0.2.1 21 Mar 2023

    Nothing published for this version

  42. 0.2.0 21 Mar 2023

    Nothing published for this version

  43. 0.1.0 20 Mar 2023

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive