This commit is contained in:
Kasper 2021-01-14 18:03:10 +01:00
parent c5afa7e01d
commit d0d37e988c
4 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,6 @@
## 1.3.1 - 2021 Jan 14
- Fix spelling of `Celsius` (@joseluis)
## 1.3.0 - 2020 Nov 29 ## 1.3.0 - 2020 Nov 29
- Added unit of mass `Stone` - Added unit of mass `Stone`
- Added keyword `pounds-force` (used for `PoundsPerSquareInch`) - Added keyword `pounds-force` (used for `PoundsPerSquareInch`)
@ -28,8 +31,8 @@
- Fixed error caused by consecutive percentage signs - Fixed error caused by consecutive percentage signs
## 1.0.2 - 2020 Oct 12 ## 1.0.2 - 2020 Oct 12
- Fix parsing of unit `Quarter` (#1) - Fix parsing of unit `Quarter` (@ethwu)
- Use division instead of multiplication when dividing numbers of the same unit `Quarter` (#1) - Use division instead of multiplication when dividing numbers of the same unit `Quarter` (@ethwu)
## 1.0.1 - 2020 Aug 20 ## 1.0.1 - 2020 Aug 20
- Fixed the library not working - Fixed the library not working

2
Cargo.lock generated
View File

@ -14,7 +14,7 @@ checksum = "95752358c8f7552394baf48cd82695b345628ad3f170d607de3ca03b8dacca15"
[[package]] [[package]]
name = "cpc" name = "cpc"
version = "1.3.0" version = "1.3.1"
dependencies = [ dependencies = [
"decimal_fixes_mirror", "decimal_fixes_mirror",
] ]

View File

@ -1,6 +1,6 @@
[package] [package]
name = "cpc" name = "cpc"
version = "1.3.0" version = "1.3.1"
description = "evaluates math expressions, with support for units and conversion between units" description = "evaluates math expressions, with support for units and conversion between units"
authors = ["Kasper Henningsen"] authors = ["Kasper Henningsen"]
edition = "2018" edition = "2018"

View File

@ -191,7 +191,7 @@ match string {
### Cross-compiling ### Cross-compiling
1. [Install Docker](https://docs.docker.com/get-docker/) 1. [Install Docker](https://docs.docker.com/get-docker/)
2. Install `cross`: 2. Install [cross](https://github.com/rust-embedded/cross):
``` ```
cargo install cross cargo install cross
``` ```
@ -202,6 +202,7 @@ match string {
- Note that building for `x86_64-apple-darwin` only works on macOS - Note that building for `x86_64-apple-darwin` only works on macOS
- For more targets, check out [the targets `cross` supports](https://github.com/rust-embedded/cross#supported-targets) - For more targets, check out [the targets `cross` supports](https://github.com/rust-embedded/cross#supported-targets)
- If you run `cross build` in parallel, you might get a `cargo not found` error - If you run `cross build` in parallel, you might get a `cargo not found` error
The compiled binaries will now be available inside `target/<target>/release/`. The filename will be either `cpc` or `cpc.exe`. The compiled binaries will now be available inside `target/<target>/release/`. The filename will be either `cpc` or `cpc.exe`.
### Releasing a new version ### Releasing a new version