Rust Units

Open-source Rust projects categorized as Units

Top 5 Rust Unit Projects

  • numbat

    A statically typed programming language for scientific computations with first class support for physical dimensions and units

    Project mention: Show HN: Numbat – A programming language with physical dimensions as types | news.ycombinator.com | 2023-11-16

    > 365·243 ought to be 365·2425 exactly:

    Yes. This is also how it is defined: https://github.com/sharkdp/numbat/blob/ba9e97b1fbf6353d24695...

    The calculation above is showing a rounded result (6 significant digits by default).

  • rink-rs

    Unit conversion tool and library written in rust

    Project mention: Frink is a programming language designed to make physical calculations simple | news.ycombinator.com | 2023-11-03
  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • dimensioned

    Compile-time dimensional analysis for various unit systems using Rust's type system.

    Project mention: Frink is a programming language designed to make physical calculations simple | news.ycombinator.com | 2023-11-03

    Rust as well. There are at least a few libraries to do it, but I'll link the one I wrote:

    https://crates.io/crates/dimensioned

  • cpc

    Text calculator with support for units and conversion

  • prettysize-rs

    Pretty-print file sizes and more

    Project mention: The most copied StackOverflow snippet of all time is flawed | news.ycombinator.com | 2023-09-27

    Shameless plug: another option to format sizes in a human readable format quickly and correctly (other than copying from S/O), you can use one of our open source PrettySize libraries, available for rust [0] and .NET [1]. They also make performing type-safe logical operations on file sizes safe and easy!

    [0]: https://github.com/neosmart/prettysize-rs

    [1]: https://github.com/neosmart/PrettySize.net

  • LearnThisRepo.com

    Learn 300+ open source libraries for free using AI. LearnThisRepo lets you learn 300+ open source repos including Postgres, Langchain, VS Code, and more by chatting with them using AI!

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-11-16.

Rust Units related posts

Index

What are some of the best open-source Unit projects in Rust? This list will help you:

Project Stars
1 numbat 709
2 rink-rs 386
3 dimensioned 288
4 cpc 112
5 prettysize-rs 36
The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com