From e091e76d5293b76d957faf1dc7e5bfe21c027fe8 Mon Sep 17 00:00:00 2001 From: Trevor Spiteri Date: Thu, 7 Feb 2019 00:59:41 +0100 Subject: [PATCH] version 0.3.1 --- Cargo.toml | 2 +- README.md | 60 ++++++++++++++++++++++++++--------------------------- RELEASES.md | 2 +- src/lib.rs | 6 +++--- 4 files changed, 35 insertions(+), 35 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 4c9818d..2ac06e2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ [package] name = "fixed" -version = "0.3.0" +version = "0.3.1" authors = ["Trevor Spiteri "] description = "Fixed-point numbers" documentation = "https://docs.rs/fixed" diff --git a/README.md b/README.md index edf03ac..2c517d0 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ numeric primitives are implemented. That is, you can use [`From`] or ## What’s new -### Version 0.3.1 news (unreleased) +### Version 0.3.1 news (2019-02-07) * Reimplement [`From`][`From`] for all fixed-point types which can represent the integer 1. This was inadvertently removed in @@ -49,7 +49,7 @@ numeric primitives are implemented. That is, you can use [`From`] or #### Highlights - * Every fixed-point type now supports coversion to/from all + * Every fixed-point type now supports conversion to/from all primitive number types, including checked versions of the conversions. * Every fixed-point type now supports comparisons with all primitive @@ -73,19 +73,19 @@ numeric primitives are implemented. That is, you can use [`From`] or * The methods [`int_bits`] and [`frac_bits`] were deprecated and replaced by the methods [`int_nbits`] and [`frac_nbits`]. -[`Float::from_fixed`]: https://docs.rs/fixed/0.3.0/fixed/sealed/trait.Float.html#method.from_fixed -[`Float::to_fixed`]: https://docs.rs/fixed/0.3.0/fixed/sealed/trait.Float.html#method.to_fixed -[`Float`]: https://docs.rs/fixed/0.3.0/fixed/sealed/trait.Float.html -[`Int::from_fixed`]: https://docs.rs/fixed/0.3.0/fixed/sealed/trait.Int.html#method.from_fixed -[`Int::to_fixed`]: https://docs.rs/fixed/0.3.0/fixed/sealed/trait.Int.html#method.to_fixed -[`Int`]: https://docs.rs/fixed/0.3.0/fixed/sealed/trait.Int.html +[`Float::from_fixed`]: https://docs.rs/fixed/0.3.1/fixed/sealed/trait.Float.html#method.from_fixed +[`Float::to_fixed`]: https://docs.rs/fixed/0.3.1/fixed/sealed/trait.Float.html#method.to_fixed +[`Float`]: https://docs.rs/fixed/0.3.1/fixed/sealed/trait.Float.html +[`Int::from_fixed`]: https://docs.rs/fixed/0.3.1/fixed/sealed/trait.Int.html#method.from_fixed +[`Int::to_fixed`]: https://docs.rs/fixed/0.3.1/fixed/sealed/trait.Int.html#method.to_fixed +[`Int`]: https://docs.rs/fixed/0.3.1/fixed/sealed/trait.Int.html [`bool`]: https://doc.rust-lang.org/nightly/std/convert/trait.From.html -[`frac_bits`]: https://docs.rs/fixed/0.3.0/fixed/struct.FixedI32.html#method.frac_bits -[`frac_nbits`]: https://docs.rs/fixed/0.3.0/fixed/struct.FixedI32.html#method.frac_nbits -[`int_bits`]: https://docs.rs/fixed/0.3.0/fixed/struct.FixedI32.html#method.int_bits -[`int_nbits`]: https://docs.rs/fixed/0.3.0/fixed/struct.FixedI32.html#method.int_nbits -[`to_fixed`]: https://docs.rs/fixed/0.3.0/fixed/struct.FixedI32.html#method.to_fixed -[`to_int`]: https://docs.rs/fixed/0.3.0/fixed/struct.FixedI32.html#method.to_int +[`frac_bits`]: https://docs.rs/fixed/0.3.1/fixed/struct.FixedI32.html#method.frac_bits +[`frac_nbits`]: https://docs.rs/fixed/0.3.1/fixed/struct.FixedI32.html#method.frac_nbits +[`int_bits`]: https://docs.rs/fixed/0.3.1/fixed/struct.FixedI32.html#method.int_bits +[`int_nbits`]: https://docs.rs/fixed/0.3.1/fixed/struct.FixedI32.html#method.int_nbits +[`to_fixed`]: https://docs.rs/fixed/0.3.1/fixed/struct.FixedI32.html#method.to_fixed +[`to_int`]: https://docs.rs/fixed/0.3.1/fixed/struct.FixedI32.html#method.to_int ### Other releases @@ -155,7 +155,7 @@ it in your crate, add it as a dependency inside [*Cargo.toml*]: ```toml [dependencies] -fixed = "0.3.0" +fixed = "0.3.1" ``` If you are using the 2015 Rust edition, you also need to declare it by @@ -182,7 +182,7 @@ To enable features, you can add the dependency like this to ```toml [dependencies.fixed] -version = "0.3.0" +version = "0.3.1" features = ["f16", "serde"] ``` @@ -210,22 +210,22 @@ additional terms or conditions. [*typenum* crate]: https://crates.io/crates/typenum [LICENSE-APACHE]: https://www.apache.org/licenses/LICENSE-2.0 [LICENSE-MIT]: https://opensource.org/licenses/MIT -[`FixedI128`]: https://docs.rs/fixed/0.3.0/fixed/struct.FixedI128.html -[`FixedI16`]: https://docs.rs/fixed/0.3.0/fixed/struct.FixedI16.html -[`FixedI32`]: https://docs.rs/fixed/0.3.0/fixed/struct.FixedI32.html -[`FixedI64`]: https://docs.rs/fixed/0.3.0/fixed/struct.FixedI64.html -[`FixedI8`]: https://docs.rs/fixed/0.3.0/fixed/struct.FixedI8.html -[`FixedU128`]: https://docs.rs/fixed/0.3.0/fixed/struct.FixedU128.html -[`FixedU16`]: https://docs.rs/fixed/0.3.0/fixed/struct.FixedU16.html -[`FixedU32`]: https://docs.rs/fixed/0.3.0/fixed/struct.FixedU32.html -[`FixedU64`]: https://docs.rs/fixed/0.3.0/fixed/struct.FixedU64.html -[`FixedU8`]: https://docs.rs/fixed/0.3.0/fixed/struct.FixedU8.html +[`FixedI128`]: https://docs.rs/fixed/0.3.1/fixed/struct.FixedI128.html +[`FixedI16`]: https://docs.rs/fixed/0.3.1/fixed/struct.FixedI16.html +[`FixedI32`]: https://docs.rs/fixed/0.3.1/fixed/struct.FixedI32.html +[`FixedI64`]: https://docs.rs/fixed/0.3.1/fixed/struct.FixedI64.html +[`FixedI8`]: https://docs.rs/fixed/0.3.1/fixed/struct.FixedI8.html +[`FixedU128`]: https://docs.rs/fixed/0.3.1/fixed/struct.FixedU128.html +[`FixedU16`]: https://docs.rs/fixed/0.3.1/fixed/struct.FixedU16.html +[`FixedU32`]: https://docs.rs/fixed/0.3.1/fixed/struct.FixedU32.html +[`FixedU64`]: https://docs.rs/fixed/0.3.1/fixed/struct.FixedU64.html +[`FixedU8`]: https://docs.rs/fixed/0.3.1/fixed/struct.FixedU8.html [`From`]: https://doc.rust-lang.org/nightly/std/convert/trait.From.html -[`I20F12`]: https://docs.rs/fixed/0.3.0/fixed/types/type.I20F12.html -[`I4F12`]: https://docs.rs/fixed/0.3.0/fixed/types/type.I4F12.html -[`I4F4`]: https://docs.rs/fixed/0.3.0/fixed/types/type.I4F4.html +[`I20F12`]: https://docs.rs/fixed/0.3.1/fixed/types/type.I20F12.html +[`I4F12`]: https://docs.rs/fixed/0.3.1/fixed/types/type.I4F12.html +[`I4F4`]: https://docs.rs/fixed/0.3.1/fixed/types/type.I4F4.html [`Into`]: https://doc.rust-lang.org/nightly/std/convert/trait.Into.html -[`U20F12`]: https://docs.rs/fixed/0.3.0/fixed/types/type.U20F12.html +[`U20F12`]: https://docs.rs/fixed/0.3.1/fixed/types/type.U20F12.html [`f16`]: https://docs.rs/half/^1/half/struct.f16.html [`from_fixed`]: struct.FixedI8.html#method.from_fixed [const generics]: https://github.com/rust-lang/rust/issues/44580 diff --git a/RELEASES.md b/RELEASES.md index 720da13..e46457f 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -5,7 +5,7 @@ modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty. --> -Version 0.3.1 (unreleased) +Version 0.3.1 (2019-02-07) ========================== * Reimplement `From` for all fixed-point types which can diff --git a/src/lib.rs b/src/lib.rs index a785745..613eb75 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -108,7 +108,7 @@ it in your crate, add it as a dependency inside [*Cargo.toml*]: ```toml [dependencies] -fixed = "0.3.0" +fixed = "0.3.1" ``` If you are using the 2015 Rust edition, you also need to declare it by @@ -135,7 +135,7 @@ To enable features, you can add the dependency like this to ```toml [dependencies.fixed] -version = "0.3.0" +version = "0.3.1" features = ["f16", "serde"] ``` @@ -185,7 +185,7 @@ additional terms or conditions. */ #![no_std] #![warn(missing_docs)] -#![doc(html_root_url = "https://docs.rs/fixed/0.3.0")] +#![doc(html_root_url = "https://docs.rs/fixed/0.3.1")] #![doc(test(attr(deny(warnings))))] #![cfg_attr(feature = "fail-on-warnings", deny(warnings))]