1 unstable release
0.1.1 | Nov 1, 2024 |
---|---|
0.1.0 |
|
#14 in #si-units
262 downloads per month
9KB
63 lines
This package contains constants for interoperation with Joto workspace packages, it should be expected not to change at all once it is released.
In this 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)
This version of joto_constants
has 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
- ISC license (LICENSE-ISC)
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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.