Skip to content

Commit 33901eb

Browse files
committed
Release v0.21.0.
1 parent 8b90bf5 commit 33901eb

File tree

4 files changed

+22
-6
lines changed

4 files changed

+22
-6
lines changed

CHANGELOG.md

+17-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,21 @@
99
### Fixed
1010
### Security
1111
-->
12+
## [0.21.0] — 2019-01-13
13+
This release adds display tools for quantities resolving another long-standing issue,
14+
[#13](https://github.com/iliekturtles/uom/issues/13).
15+
16+
### Added
17+
* [#13](https://github.com/iliekturtles/uom/issues/13) Add display tools for quantities. Allows
18+
`Quantity` to be formatted with the standard library formatting traits: `Binary`, `Debug`,
19+
`Display`, `LowerExp`, `LowerHex`, `Octal`, `UpperExp`, `UpperHex`.
20+
21+
### Changed
22+
* Improve continuous integration setup.
23+
* Update `clippy` and `rustfmt` jobs to use the now stable non `-preview` components.
24+
* Run OSX and Windows builds on TravisCI.
25+
* Improve individual job build time by reducing unnecessary cached data.
26+
1227
## [v0.20.1] — 2018-09-13
1328
This release resolves nightly rustc error E0659 the base.rs example caused by
1429
[rust-lang/rust](https://github.com/rust-lang/rust) pull request
@@ -283,7 +298,8 @@ for the creation of custom systems or the use of the pre-built SI. Basic mathema
283298
are implemented and a minimal set of quantities (length, mass, time...) and units (meter, kilometer,
284299
foot, mile, ...) are included.
285300

286-
[Unreleased]: https://github.com/iliekturtles/uom/compare/v0.20.1...master
301+
[Unreleased]: https://github.com/iliekturtles/uom/compare/v0.21.0...master
302+
[v0.21.0]: https://github.com/iliekturtles/uom/compare/v0.20.1...v0.21.0
287303
[v0.20.1]: https://github.com/iliekturtles/uom/compare/v0.20.0...v0.20.1
288304
[v0.20.0]: https://github.com/iliekturtles/uom/compare/v0.19.0...v0.20.0
289305
[v0.19.0]: https://github.com/iliekturtles/uom/compare/v0.18.0...v0.19.0

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "uom"
3-
version = "0.20.1"
3+
version = "0.21.0"
44
authors = ["Mike Boutin <mike.boutin@gmail.com>"]
55
description = "Units of measurement"
66
documentation = "https://docs.rs/uom"

README.md

+2-2
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.20.1"
30+
uom = "0.21.0"
3131
```
3232

3333
and this to your crate root:
@@ -72,7 +72,7 @@ enabled by default. Features can be cherry-picked by using the `--no-default-fea
7272
```toml
7373
[dependencies]
7474
uom = {
75-
version = "0.20.1",
75+
version = "0.21.0",
7676
default-features = false,
7777
features = [
7878
"autoconvert", # automatic base unit conversion.

src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
//!
1919
//! ```toml
2020
//! [dependencies]
21-
//! uom = "0.20.1"
21+
//! uom = "0.21.0"
2222
//! ```
2323
//!
2424
//! and this to your crate root:
@@ -61,7 +61,7 @@
6161
//! ```toml
6262
//! [dependencies]
6363
//! uom = {
64-
//! version = "0.20.1",
64+
//! version = "0.21.0",
6565
//! default-features = false,
6666
//! features = [
6767
//! "autoconvert", # automatic base unit conversion.

0 commit comments

Comments
 (0)