Skip to content

Commit ea62b5d

Browse files
committed
API: Remove approx-0_5 feature (replaced by approx feature)
1 parent 83dba02 commit ea62b5d

File tree

4 files changed

+4
-12
lines changed

4 files changed

+4
-12
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ serde-1 = ["serde"]
6565
test = []
6666

6767
# This feature is used for docs
68-
docs = ["approx", "approx-0_5", "serde", "rayon"]
68+
docs = ["approx", "serde", "rayon"]
6969

7070
std = ["num-traits/std", "matrixmultiply/std"]
7171
rayon = ["rayon_", "std"]

README.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,6 @@ your `Cargo.toml`.
8585

8686
- ``approx``
8787

88-
- Implementations of traits from version 0.4 of the [`approx`] crate.
89-
90-
- ``approx-0_5``
91-
9288
- Implementations of traits from version 0.5 of the [`approx`] crate.
9389

9490
- ``blas``

src/doc/crate_feature_flags.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@
1919
//! - Implies std
2020
//!
2121
//! ## `approx`
22-
//! - Enables implementations of traits from version 0.4 of the [`approx`] crate.
23-
//!
24-
//! ## `approx-0_5`
25-
//! - Enables implementations of traits from version 0.5 of the [`approx`] crate.
22+
//! - Enables implementations of traits of the [`approx`] crate.
2623
//!
2724
//! ## `blas`
2825
//! - Enable transparent BLAS support for matrix multiplication.

src/lib.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,7 @@
8181
//! - `std`: Rust standard library-using functionality (enabled by default)
8282
//! - `serde`: serialization support for serde 1.x
8383
//! - `rayon`: Parallel iterators, parallelized methods, the [`parallel`] module and [`par_azip!`].
84-
//! - `approx` Implementations of traits from version 0.4 of the [`approx`] crate.
85-
//! - `approx-0_5`: Implementations of traits from version 0.5 of the [`approx`] crate.
84+
//! - `approx` Implementations of traits from the [`approx`] crate.
8685
//! - `blas`: transparent BLAS support for matrix multiplication, needs configuration.
8786
//! - `matrixmultiply-threading`: Use threading from `matrixmultiply`.
8887
//!
@@ -1600,7 +1599,7 @@ pub mod linalg;
16001599
mod impl_ops;
16011600
pub use crate::impl_ops::ScalarOperand;
16021601

1603-
#[cfg(any(feature = "approx", feature = "approx-0_5"))]
1602+
#[cfg(feature = "approx")]
16041603
mod array_approx;
16051604

16061605
// Array view methods

0 commit comments

Comments
 (0)