From 127bffd347cc0970ac421dbe4eb6f2dc126f5406 Mon Sep 17 00:00:00 2001 From: printfn Date: Mon, 5 Oct 2020 22:21:09 +1300 Subject: [PATCH] Release version 0.1.6 --- CHANGELOG.md | 4 ++-- Cargo.lock | 6 +++--- Cargo.toml | 4 ++-- README.md | 5 +++++ core/Cargo.toml | 2 +- core/src/lib.rs | 6 +++--- src/main.rs | 2 +- 7 files changed, 17 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 32b45d13..6dffe38c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,11 @@ # Changelog -## Next release +## v0.1.6 (2020-10-05) * Support outputting mixed fractions (implicitly or via `to mixed_fraction`) -* Allow numbers that start with a decimal point, such as `.1` * Support unmatched parentheses (e.g. `2+3)*(1+2` is `15`) * Support parsing of numbers with recurring digits (e.g. `0.(3)` is equal to `1/3`) +* Allow numbers that start with a decimal point, such as `.1` ## v0.1.5 (2020-09-29) diff --git a/Cargo.lock b/Cargo.lock index 60c5225f..5e36e801 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -89,17 +89,17 @@ dependencies = [ [[package]] name = "fend" -version = "0.1.5" +version = "0.1.6" dependencies = [ "ctrlc 3.1.6 (registry+https://github.com/rust-lang/crates.io-index)", "directories 3.0.1 (registry+https://github.com/rust-lang/crates.io-index)", - "fend-core 0.1.5", + "fend-core 0.1.6", "rustyline-with-hint-fix 6.2.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "fend-core" -version = "0.1.5" +version = "0.1.6" [[package]] name = "fs2" diff --git a/Cargo.toml b/Cargo.toml index aa6dada3..5c2454b9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "fend" # Don't forget to update print_version() -version = "0.1.5" +version = "0.1.6" authors = ["printfn "] description = "Calculator and unit conversion tool" homepage = "https://github.com/printfn/fend-rs" @@ -18,7 +18,7 @@ directories = "3.0.1" ctrlc = "3.1.6" [dependencies.fend-core] -version = "0.1.5" +version = "0.1.6" path = "./core" [workspace] diff --git a/README.md b/README.md index 05c29d9c..bf47882a 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,11 @@ approx. 0.7071067811 + 0.7071067811i 65535 ``` +``` +> 1 1/2' to cm +45.72 cm +``` + ``` > 1 lightyear to parsecs approx. 0.3066013937 parsecs diff --git a/core/Cargo.toml b/core/Cargo.toml index c9886d2a..eddee080 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "fend-core" # Don't forget to update html_root_url and get_version() -version = "0.1.5" +version = "0.1.6" authors = ["printfn "] description = "Backend for calculator and unit conversion tool fend" homepage = "https://github.com/printfn/fend-rs" diff --git a/core/src/lib.rs b/core/src/lib.rs index 04e36808..af18809f 100644 --- a/core/src/lib.rs +++ b/core/src/lib.rs @@ -4,7 +4,7 @@ #![allow(clippy::too_many_arguments)] // format_trailing_digits in BigRat #![deny(clippy::pedantic)] #![allow(clippy::non_ascii_literal)] -#![doc(html_root_url = "https://docs.rs/fend-core/0.1.5")] +#![doc(html_root_url = "https://docs.rs/fend-core/0.1.6")] mod ast; mod err; @@ -111,12 +111,12 @@ pub fn evaluate_with_interrupt( /// Returns the current version of `fend-core`. #[must_use] pub fn get_version() -> String { - "0.1.5".to_string() + "0.1.6".to_string() } /// Returns the current extended version of `fend-core`, which includes the /// release date in addition to the semver number #[must_use] pub fn get_extended_version() -> String { - "0.1.5 (2020-09-29)".to_string() + "0.1.6 (2020-10-05)".to_string() } diff --git a/src/main.rs b/src/main.rs index 02a07a30..45f2bdd3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -60,7 +60,7 @@ fn print_help(explain_quitting: bool) { } fn print_version() { - println!("fend v0.1.5 (2020-09-29)"); + println!("fend v0.1.6 (2020-10-05)"); println!("fend-core v{}", fend_core::get_extended_version()); }