···11+## 1.0.2 - 2020 Oct 12
22+- Fix parsing of unit `Quarter` (#1)
33+- Use division instead of multiplication when dividing numbers of the same unit `Quarter` (#1)
44+15## 1.0.1 - 2020 Aug 20
26- Fixed the library not working
37- Added documentation comments
···11[package]
22name = "cpc"
33-version = "1.0.1"
33+version = "1.0.2"
44description = "evaluates math expressions, with support for units and conversion between units"
55authors = ["Kasper Henningsen"]
66edition = "2018"
+4-4
README.md
···2002001. Update `CHANGELOG.md`
2012012. Bump the version number in `Cargo.toml` and run `cargo check`
2022023. Run `cargo test`
203203-3. Cross-compile cpc by following [the steps above](#cross-compiling)
204204-4. Commit and tag in format `v1.0.0`
205205-5. Publish on crates.io:
203203+4. Cross-compile cpc by following [the steps above](#cross-compiling)
204204+5. Commit and tag in format `v0.0.0`
205205+6. Publish on crates.io:
206206 1. Login by running `cargo login` and following the instructions
207207 2. Test publish to ensure there are no issues
208208 ```
···212212 ```
213213 cargo publish
214214 ```
215215-6. Publish on GitHub
215215+7. Publish on GitHub
216216 1. Zip the binaries and rename them like `cpc-v1.0.0-darwin-x64`
217217 2. Create GitHub release with release notes and attach the zipped binaries
+1-1
src/units.rs
···420420 // 1 km / 2
421421 Ok(Number::new(left.value / right.value, right.unit))
422422 } else if lcat == rcat {
423423- // 1 km / 1 km
423423+ // 4 km / 2 km
424424 let (left, right) = convert_to_lowest(left, right)?;
425425 Ok(Number::new(left.value / right.value, NoUnit))
426426 } else if (lcat == Area && rcat == Length) || (lcat == Volume && rcat == Area) {