Skip to content

Commit 096f15e

Browse files
committed
Release v0.36.0.
1 parent c360507 commit 096f15e

File tree

5 files changed

+50
-7
lines changed

5 files changed

+50
-7
lines changed

CHANGELOG.md

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,45 @@
99
### Removed
1010
### Fixed
1111
-->
12+
## [v0.36.0] — 2024-03-20
13+
This release adds new quantities, new units, bumps the MSRV (minimum supported Rust version) to
14+
1.65.0, and fixes bitrot in Github actions.
15+
16+
Many thanks to [Aehmlo](https://github.com/Aehmlo), [Code-Maniac](https://github.com/Code-Maniac),
17+
[baarkerlounger](https://github.com/baarkerlounger), [g1aeder](https://github.com/g1aeder),
18+
[hellow554](https://github.com/hellow554), [igiona](https://github.com/igiona),
19+
[waywardmonkeys](https://github.com/waywardmonkeys), and
20+
[yacinelakel](https://github.com/yacinelakel) for pull requests included and issues resolved in this
21+
release.
22+
23+
### Added
24+
* [#429](https://github.com/iliekturtles/uom/pull/429) Add `minute_per_kilometer` unit to
25+
`InverseVelocity`.
26+
* [#436](https://github.com/iliekturtles/uom/pull/436) Add explicit `serde` feature. The new
27+
`serde` feature deprecates the old `use_serde` feature which is now an alias for `serde` and will
28+
be removed in a future `uom` release.
29+
* [#446](https://github.com/iliekturtles/uom/pull/446) Add `ArealHeatCapacity` quantity.
30+
* [#450](https://github.com/iliekturtles/uom/pull/450) Add `ThermalResistance` quantity.
31+
32+
### Changed
33+
* [#425](https://github.com/iliekturtles/uom/pull/425) Clarify `Conversion` documentation for
34+
converting to and from the base unit.
35+
* [#432](https://github.com/iliekturtles/uom/pull/432) Use `Cargo.toml` `rust-version` key to
36+
identify the MSRV (minimum supported Rust version).
37+
* [#445](https://github.com/iliekturtles/uom/pull/445) Update basic example with example code to do
38+
unit conversions.
39+
* [#456](https://github.com/iliekturtles/uom/pull/456) Commit `Cargo.lock` to pin certain crates to
40+
specific versions that support `uom`'s MSRV (minimum supported Rust version).
41+
* [#459](https://github.com/iliekturtles/uom/pull/459) Increase MSRV (minimum supported Rust
42+
version) to `1.65.0`. No changes in this release require the new MSRV.
43+
* [#457](https://github.com/iliekturtles/uom/pull/457) Update github `checkout` and `cache` actions
44+
to `v4`.
45+
* [#459](https://github.com/iliekturtles/uom/pull/459) Rust 1.76.0 is now used for `rustfmt`,
46+
`clippy`, and `tarpaulin` jobs.
47+
* [#443](https://github.com/iliekturtles/uom/pull/443),
48+
[#459](https://github.com/iliekturtles/uom/pull/459) Resolve numerous `rustc` and `clippy`
49+
warnings.
50+
1251
## [v0.35.0] — 2023-07-10
1352
This release adds new quantities, bumps the MSRV (minimum supported Rust version) to 1.60.0, and
1453
fixes bitrot in Github actions.
@@ -738,7 +777,8 @@ for the creation of custom systems or the use of the pre-built SI. Basic mathema
738777
are implemented and a minimal set of quantities (length, mass, time...) and units (meter, kilometer,
739778
foot, mile, ...) are included.
740779

741-
[Unreleased]: https://github.com/iliekturtles/uom/compare/v0.35.0...master
780+
[Unreleased]: https://github.com/iliekturtles/uom/compare/v0.36.0...master
781+
[v0.36.0]: https://github.com/iliekturtles/uom/compare/v0.35.0...v0.36.0
742782
[v0.35.0]: https://github.com/iliekturtles/uom/compare/v0.34.0...v0.35.0
743783
[v0.34.0]: https://github.com/iliekturtles/uom/compare/v0.33.0...v0.34.0
744784
[v0.33.0]: https://github.com/iliekturtles/uom/compare/v0.32.0...v0.33.0

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "uom"
3-
version = "0.35.0"
3+
version = "0.36.0"
44
edition = "2018"
55
rust-version = "1.65.0"
66
authors = ["Mike Boutin <mike.boutin@gmail.com>"]

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Units of measurement is a crate that does automatic type-safe zero-cost
2727

2828
```toml
2929
[dependencies]
30-
uom = "0.35.0"
30+
uom = "0.36.0"
3131
```
3232

3333
and this to your crate root:
@@ -82,7 +82,7 @@ enabled by default. Features can be cherry-picked by using the `--no-default-fea
8282
```toml
8383
[dependencies]
8484
uom = {
85-
version = "0.35.0",
85+
version = "0.36.0",
8686
default-features = false,
8787
features = [
8888
"autoconvert", # automatic base unit conversion.

src/lib.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
//!
1919
//! ```toml
2020
//! [dependencies]
21-
//! uom = "0.35.0"
21+
//! uom = "0.36.0"
2222
//! ```
2323
//!
2424
//! and this to your crate root:
@@ -44,6 +44,9 @@
4444
//! let velocity/*: Velocity*/ = length / time;
4545
//! let _acceleration = calc_acceleration(velocity, time);
4646
//! //let error = length + time; // error[E0308]: mismatched types
47+
//!
48+
//! // Get a quantity value in a specific unit.
49+
//! let time_in_nano_seconds = time.get::<uom::si::time::nanosecond>();
4750
//! }
4851
//!
4952
//! fn calc_acceleration(velocity: Velocity, time: Time) -> Acceleration {
@@ -66,7 +69,7 @@
6669
//! ```toml
6770
//! [dependencies]
6871
//! uom = {
69-
//! version = "0.35.0",
72+
//! version = "0.36.0",
7073
//! default-features = false,
7174
//! features = [
7275
//! "autoconvert", # automatic base unit conversion.

0 commit comments

Comments
 (0)