Skip to content
/ joto Public

Interoperable integer units.

License

Apache-2.0 and 2 other licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
ISC
LICENSE-ISC
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

xorgy/joto

Joto Workspace

¿por que no los dos?

dependency status ISC/MIT/Apache 2.0 Build status Crates.io Docs

This workspace is a collection of constants and tools for interoperating US Customary and SI units of length/displacement, with a focus on avoiding unnecessary loss of precision and idempotency.

In the joto_constants package, IOTA is defined as one ninth of a nanometer. This allows common fractions of an inch (ten-thousandths, desktop publishing points, and sixty-fourths) and nanometers to be represented as integers. Using this base unit, combinations of lengths in either US customary units or SI units can be added, subtracted, and multiplied without loss of precision.

Minimum Supported Rust Version (MSRV)

These packages have been verified to compile with Rust 1.64 and later.

Future versions might increase the Rust version requirement. It will not be treated as a breaking change, and as such can even happen with small patch releases.

License

Licensed under

at your option.

Contribution

Contributions are welcome by pull request. Please feel free to add your name to the AUTHORS file in any substantive pull request.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in th ework by you, as defined in the Apache-2.0 license, shall be licensed above, without any additional terms or conditions.

About

Interoperable integer units.

Resources

License

Apache-2.0 and 2 other licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
ISC
LICENSE-ISC
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages