version 0.1.0
This commit is contained in:
parent
8c9ee77cef
commit
39b9653f8e
|
@ -7,7 +7,7 @@
|
|||
|
||||
[package]
|
||||
name = "fixed"
|
||||
version = "0.0.1"
|
||||
version = "0.1.0"
|
||||
authors = ["Trevor Spiteri <tspiteri@ieee.org>"]
|
||||
description = "Fixed-point numbers"
|
||||
documentation = "https://docs.rs/fixed"
|
||||
|
|
19
README.md
19
README.md
|
@ -33,6 +33,23 @@ fixed-point number lies in the range −0.5 ≤ *x* < 0.5 for signed
|
|||
fixed-point numbers, and in the range 0 ≤ *x* < 1 for unsigned
|
||||
fixed-point numbers.
|
||||
|
||||
## What’s new
|
||||
|
||||
### Version 0.1.0 news (2018-08-10)
|
||||
|
||||
* [`Unsigned`] constants provided by the [*typenum* crate] are now
|
||||
used for the number of fractional bits.
|
||||
* Many methods and trait implementations available for primitive
|
||||
integers are now also supported by the fixed-point numbers.
|
||||
|
||||
[`Unsigned`]: https://docs.rs/typenum/^1.3/typenum/marker_traits/trait.Unsigned.html
|
||||
|
||||
### Other releases
|
||||
|
||||
Details on other releases can be found in [*RELEASES.md*].
|
||||
|
||||
[*RELEASES.md*]: https://gitlab.com/tspiteri/fixed/blob/master/RELEASES.md
|
||||
|
||||
## Using the *fixed* crate
|
||||
|
||||
The *fixed* crate is available on [crates.io][*fixed* crate]. To use
|
||||
|
@ -40,7 +57,7 @@ it in your crate, add it as a dependency inside [*Cargo.toml*]:
|
|||
|
||||
```toml
|
||||
[dependencies]
|
||||
fixed = "0.0.1"
|
||||
fixed = "0.1.0"
|
||||
```
|
||||
|
||||
You also need to declare it by adding this to your crate root (usually
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
<!-- Copyright © 2018 Trevor Spiteri -->
|
||||
|
||||
<!-- Copying and distribution of this file, with or without
|
||||
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.1.0 (2018-08-10)
|
||||
==========================
|
||||
|
||||
* `Unsigned` constants provided by the *typenum* crate are now used
|
||||
for the number of fractional bits.
|
||||
* Many methods and trait implementations available for primitive
|
||||
integers are now also supported by the fixed-point numbers.
|
|
@ -49,7 +49,7 @@ it in your crate, add it as a dependency inside [*Cargo.toml*]:
|
|||
|
||||
```toml
|
||||
[dependencies]
|
||||
fixed = "0.0.1"
|
||||
fixed = "0.1.0"
|
||||
```
|
||||
|
||||
You also need to declare it by adding this to your crate root (usually
|
||||
|
@ -95,7 +95,7 @@ additional terms or conditions.
|
|||
[const generics]: https://github.com/rust-lang/rust/issues/44580
|
||||
*/
|
||||
#![warn(missing_docs)]
|
||||
#![doc(html_root_url = "https://docs.rs/fixed/0.0.1")]
|
||||
#![doc(html_root_url = "https://docs.rs/fixed/0.1.0")]
|
||||
#![doc(test(attr(deny(warnings))))]
|
||||
#![cfg_attr(nightly_repr_transparent, feature(repr_transparent))]
|
||||
|
||||
|
|
Loading…
Reference in New Issue