version 0.4.2

This commit is contained in:
Trevor Spiteri 2019-08-16 23:25:19 +02:00
parent 9ec8927ad5
commit 9e671fced6
4 changed files with 41 additions and 41 deletions

View File

@ -7,7 +7,7 @@
[package] [package]
name = "fixed" name = "fixed"
version = "0.4.1" version = "0.4.2"
authors = ["Trevor Spiteri <tspiteri@ieee.org>"] authors = ["Trevor Spiteri <tspiteri@ieee.org>"]
description = "Fixed-point numbers" description = "Fixed-point numbers"
documentation = "https://docs.rs/fixed" documentation = "https://docs.rs/fixed"

View File

@ -49,7 +49,7 @@ Various conversion methods are available:
## Whats new ## Whats new
### Version 0.4.2 news (unreleased) ### Version 0.4.2 news (2019-08-16)
* The new methods [`from_num`] and [`to_num`] together with their * The new methods [`from_num`] and [`to_num`] together with their
checked versions were added to all fixed-point numbers. checked versions were added to all fixed-point numbers.
@ -75,9 +75,9 @@ Various conversion methods are available:
[`from_str_hex`] were added. [`from_str_hex`] were added.
[`FromStr`]: https://doc.rust-lang.org/nightly/std/str/trait.FromStr.html [`FromStr`]: https://doc.rust-lang.org/nightly/std/str/trait.FromStr.html
[`from_str_binary`]: https://docs.rs/fixed/0.4.1/fixed/struct.FixedI32.html#method.from_str_binary [`from_str_binary`]: https://docs.rs/fixed/0.4.2/fixed/struct.FixedI32.html#method.from_str_binary
[`from_str_octal`]: https://docs.rs/fixed/0.4.1/fixed/struct.FixedI32.html#method.from_str_octal [`from_str_octal`]: https://docs.rs/fixed/0.4.2/fixed/struct.FixedI32.html#method.from_str_octal
[`from_str_hex`]: https://docs.rs/fixed/0.4.1/fixed/struct.FixedI32.html#method.from_str_hex [`from_str_hex`]: https://docs.rs/fixed/0.4.2/fixed/struct.FixedI32.html#method.from_str_hex
### Version 0.4.0 news (2019-08-08) ### Version 0.4.0 news (2019-08-08)
@ -103,16 +103,16 @@ Various conversion methods are available:
* [@jean-airoldie](https://gitlab.com/jean-airoldie) * [@jean-airoldie](https://gitlab.com/jean-airoldie)
* [@tspiteri](https://gitlab.com/tspiteri) * [@tspiteri](https://gitlab.com/tspiteri)
[`FixedSigned`]: https://docs.rs/fixed/0.4.1/fixed/traits/trait.FixedSigned.html [`FixedSigned`]: https://docs.rs/fixed/0.4.2/fixed/traits/trait.FixedSigned.html
[`FixedUnsigned`]: https://docs.rs/fixed/0.4.1/fixed/traits/trait.FixedUnsigned.html [`FixedUnsigned`]: https://docs.rs/fixed/0.4.2/fixed/traits/trait.FixedUnsigned.html
[`Fixed`]: https://docs.rs/fixed/0.4.1/fixed/traits/trait.Fixed.html [`Fixed`]: https://docs.rs/fixed/0.4.2/fixed/traits/trait.Fixed.html
[`Float`]: https://docs.rs/fixed/0.4.1/fixed/sealed/trait.Float.html [`Float`]: https://docs.rs/fixed/0.4.2/fixed/sealed/trait.Float.html
[`Int`]: https://docs.rs/fixed/0.4.1/fixed/sealed/trait.Int.html [`Int`]: https://docs.rs/fixed/0.4.2/fixed/sealed/trait.Int.html
[`consts`]: https://docs.rs/fixed/0.4.1/fixed/consts/index.html [`consts`]: https://docs.rs/fixed/0.4.2/fixed/consts/index.html
[`saturating_abs`]: https://docs.rs/fixed/0.4.1/fixed/struct.FixedI32.html#method.saturating_abs [`saturating_abs`]: https://docs.rs/fixed/0.4.2/fixed/struct.FixedI32.html#method.saturating_abs
[`saturating_neg`]: https://docs.rs/fixed/0.4.1/fixed/struct.FixedI32.html#method.saturating_neg [`saturating_neg`]: https://docs.rs/fixed/0.4.2/fixed/struct.FixedI32.html#method.saturating_neg
[`signum`]: https://docs.rs/fixed/0.4.1/fixed/struct.FixedI32.html#method.signum [`signum`]: https://docs.rs/fixed/0.4.2/fixed/struct.FixedI32.html#method.signum
[`traits`]: https://docs.rs/fixed/0.4.1/fixed/traits/index.html [`traits`]: https://docs.rs/fixed/0.4.2/fixed/traits/index.html
### Other releases ### Other releases
@ -183,7 +183,7 @@ it in your crate, add it as a dependency inside [*Cargo.toml*]:
```toml ```toml
[dependencies] [dependencies]
fixed = "0.4.1" fixed = "0.4.2"
``` ```
If you are using the 2015 Rust edition, you also need to declare it by If you are using the 2015 Rust edition, you also need to declare it by
@ -210,7 +210,7 @@ To enable features, you can add the dependency like this to
```toml ```toml
[dependencies.fixed] [dependencies.fixed]
version = "0.4.1" version = "0.4.2"
features = ["f16", "serde"] features = ["f16", "serde"]
``` ```
@ -238,27 +238,27 @@ additional terms or conditions.
[*typenum* crate]: https://crates.io/crates/typenum [*typenum* crate]: https://crates.io/crates/typenum
[LICENSE-APACHE]: https://www.apache.org/licenses/LICENSE-2.0 [LICENSE-APACHE]: https://www.apache.org/licenses/LICENSE-2.0
[LICENSE-MIT]: https://opensource.org/licenses/MIT [LICENSE-MIT]: https://opensource.org/licenses/MIT
[`FixedI128`]: https://docs.rs/fixed/0.4.1/fixed/struct.FixedI128.html [`FixedI128`]: https://docs.rs/fixed/0.4.2/fixed/struct.FixedI128.html
[`FixedI16`]: https://docs.rs/fixed/0.4.1/fixed/struct.FixedI16.html [`FixedI16`]: https://docs.rs/fixed/0.4.2/fixed/struct.FixedI16.html
[`FixedI32`]: https://docs.rs/fixed/0.4.1/fixed/struct.FixedI32.html [`FixedI32`]: https://docs.rs/fixed/0.4.2/fixed/struct.FixedI32.html
[`FixedI64`]: https://docs.rs/fixed/0.4.1/fixed/struct.FixedI64.html [`FixedI64`]: https://docs.rs/fixed/0.4.2/fixed/struct.FixedI64.html
[`FixedI8`]: https://docs.rs/fixed/0.4.1/fixed/struct.FixedI8.html [`FixedI8`]: https://docs.rs/fixed/0.4.2/fixed/struct.FixedI8.html
[`FixedU128`]: https://docs.rs/fixed/0.4.1/fixed/struct.FixedU128.html [`FixedU128`]: https://docs.rs/fixed/0.4.2/fixed/struct.FixedU128.html
[`FixedU16`]: https://docs.rs/fixed/0.4.1/fixed/struct.FixedU16.html [`FixedU16`]: https://docs.rs/fixed/0.4.2/fixed/struct.FixedU16.html
[`FixedU32`]: https://docs.rs/fixed/0.4.1/fixed/struct.FixedU32.html [`FixedU32`]: https://docs.rs/fixed/0.4.2/fixed/struct.FixedU32.html
[`FixedU64`]: https://docs.rs/fixed/0.4.1/fixed/struct.FixedU64.html [`FixedU64`]: https://docs.rs/fixed/0.4.2/fixed/struct.FixedU64.html
[`FixedU8`]: https://docs.rs/fixed/0.4.1/fixed/struct.FixedU8.html [`FixedU8`]: https://docs.rs/fixed/0.4.2/fixed/struct.FixedU8.html
[`FromFixed`]: https://docs.rs/fixed/0.4.1/fixed/traits/trait.FromFixed.html [`FromFixed`]: https://docs.rs/fixed/0.4.2/fixed/traits/trait.FromFixed.html
[`From`]: https://doc.rust-lang.org/nightly/std/convert/trait.From.html [`From`]: https://doc.rust-lang.org/nightly/std/convert/trait.From.html
[`I20F12`]: https://docs.rs/fixed/0.4.1/fixed/types/type.I20F12.html [`I20F12`]: https://docs.rs/fixed/0.4.2/fixed/types/type.I20F12.html
[`I4F12`]: https://docs.rs/fixed/0.4.1/fixed/types/type.I4F12.html [`I4F12`]: https://docs.rs/fixed/0.4.2/fixed/types/type.I4F12.html
[`I4F4`]: https://docs.rs/fixed/0.4.1/fixed/types/type.I4F4.html [`I4F4`]: https://docs.rs/fixed/0.4.2/fixed/types/type.I4F4.html
[`Into`]: https://doc.rust-lang.org/nightly/std/convert/trait.Into.html [`Into`]: https://doc.rust-lang.org/nightly/std/convert/trait.Into.html
[`LossyFrom`]: https://docs.rs/fixed/0.4.1/fixed/traits/trait.LossyFrom.html [`LossyFrom`]: https://docs.rs/fixed/0.4.2/fixed/traits/trait.LossyFrom.html
[`LossyInto`]: https://docs.rs/fixed/0.4.1/fixed/traits/trait.LossyInto.html [`LossyInto`]: https://docs.rs/fixed/0.4.2/fixed/traits/trait.LossyInto.html
[`ToFixed`]: https://docs.rs/fixed/0.4.1/fixed/traits/trait.ToFixed.html [`ToFixed`]: https://docs.rs/fixed/0.4.2/fixed/traits/trait.ToFixed.html
[`U20F12`]: https://docs.rs/fixed/0.4.1/fixed/types/type.U20F12.html [`U20F12`]: https://docs.rs/fixed/0.4.2/fixed/types/type.U20F12.html
[`f16`]: https://docs.rs/half/^1/half/struct.f16.html [`f16`]: https://docs.rs/half/^1/half/struct.f16.html
[`frac::U12`]: https://docs.rs/fixed/0.4.1/fixed/frac/type.U12.html [`frac::U12`]: https://docs.rs/fixed/0.4.2/fixed/frac/type.U12.html
[`from_fixed`]: https://docs.rs/fixed/0.4.1/fixed/struct.FixedI8.html#method.from_fixed [`from_fixed`]: https://docs.rs/fixed/0.4.2/fixed/struct.FixedI8.html#method.from_fixed
[const generics]: https://github.com/rust-lang/rust/issues/44580 [const generics]: https://github.com/rust-lang/rust/issues/44580

View File

@ -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 copyright notice and this notice are preserved. This file is offered
as-is, without any warranty. --> as-is, without any warranty. -->
Version 0.4.2 (unreleased) Version 0.4.2 (2019-08-16)
========================== ==========================
* The new methods [`from_num`] and [`to_num`] together with their * The new methods [`from_num`] and [`to_num`] together with their

View File

@ -119,7 +119,7 @@ it in your crate, add it as a dependency inside [*Cargo.toml*]:
```toml ```toml
[dependencies] [dependencies]
fixed = "0.4.1" fixed = "0.4.2"
``` ```
If you are using the 2015 Rust edition, you also need to declare it by If you are using the 2015 Rust edition, you also need to declare it by
@ -146,7 +146,7 @@ To enable features, you can add the dependency like this to
```toml ```toml
[dependencies.fixed] [dependencies.fixed]
version = "0.4.1" version = "0.4.2"
features = ["f16", "serde"] features = ["f16", "serde"]
``` ```
@ -201,7 +201,7 @@ additional terms or conditions.
*/ */
#![no_std] #![no_std]
#![warn(missing_docs)] #![warn(missing_docs)]
#![doc(html_root_url = "https://docs.rs/fixed/0.4.1")] #![doc(html_root_url = "https://docs.rs/fixed/0.4.2")]
#![doc(test(attr(deny(warnings))))] #![doc(test(attr(deny(warnings))))]
#![cfg_attr(feature = "fail-on-warnings", deny(warnings))] #![cfg_attr(feature = "fail-on-warnings", deny(warnings))]
#![allow(clippy::type_repetition_in_bounds)] #![allow(clippy::type_repetition_in_bounds)]