1. Only showing results from lib.rs

    Clear filter to show all search results

  2. Dec 26, 2023In general, readable types are often used where you need to quickly format some data into a more human-friendly string, display it, then throw it away (although most readable types are perfectly fine to permanently store). Creation of readable types is relatively performant. Examples Unsigned use readable::num::*; assert_eq!
  3. 6 days agoSee also: byte-unit, readable, parse-size, bytemuck, humansize, zerovec, debugid, faster-hex, const-hex, shlex, hex-literal Lib.rs is an unofficial list of Rust/Cargo crates, created by kornelski.It contains data from multiple sources, including heuristics, and manually curated data.Content of this page is not necessarily endorsed by the authors of the crate.
  4. 4 days ago191 downloads per month . Apache-2.0. 13KB 144 lines. ByteScale. ByteScale is a utility for human-readable byte count representations. It is derived using the HumanByte procedural macro and serves as an example for HumanByte.. Features: Pre-defined constants for various size units (e.g., B, KB, KiB, MB, MiB, GB, GiB, ...
  5. 3 days agoConvert 120 seconds to human-readable format: human-time 120. Output: 2m Convert 500 milliseconds to human-readable format: human-time-u milli 1500. Output: 1s,500ms Convert 7200 seconds using a config file: human-time 7200-c (See Configuration section for details on creating a config file.) Reading from stdin:
  6. Apr 8, 2024See also: ubyte, bytesize, uom, byte-unit, si-scale, human_bytes, parse-size, unit-conversions, human-repr, runtime_units, cpc Lib.rs is an unofficial list of Rust/Cargo crates, created by kornelski.It contains data from multiple sources, including heuristics, and manually curated data.Content of this page is not necessarily endorsed by the authors of the crate.
  7. Jun 6, 2023A Rust crate for parsing human-readable relative time strings and converting them to a Duration. Features. Parses a variety of human-readable time formats. Supports positive and negative durations. Allows for chaining time units (e.g., "1 hour 2 minutes" or "2 days and 2 hours"). Calculate durations relative to a specified date. Relies on ...
  8. Feb 6, 2025This Rust crate provides a simple and convenient way to measure and display the execution time of code blocks. It allows you to start a timer and then print or retrieve the elapsed time in a human-readable format, including days, hours, minutes, and seconds. ExecutionTime provides more user-friendly output than the default std::time::Instant alone.
  9. Nov 6, 2024A command line utility for inspecting the contents of DICOM files by printing them in a human readable format. A programmatic API for dumping DICOM objects is also available. If you intend to use dicom-dump exclusively as a library, you can disable the cli Cargo feature. This tool is part of the DICOM-rs project. Usage
  10. Dec 20, 2023readability-rs is a library for extracting the primary readable content of a webpage. This is a rust port of arc90's readability project. inspired by kingwkb/readability. Hot to use. Add readability to dependencies in Cargo.toml [dependencies] readability = "^0" Then, use it as below
  11. Jan 2, 2024This crate provides an attribute macro to expose struct fields that are readable and writable from within the same module but readable only outside the module. [dependencies] readonly = "0.2" Syntax. Place #[readonly::make] on a braced struct or tuple struct. This will make all fields of the struct publicly readable according to their ...
  12. Can’t find what you’re looking for?

    Help us improve DuckDuckGo searches with your feedback

Custom date rangeX