Skip to content

Commit

Permalink
API: Remove approx-0_5 feature (replaced by approx feature)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluss committed Apr 6, 2024
1 parent 83dba02 commit ea62b5d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -65,7 +65,7 @@ serde-1 = ["serde"]
test = []

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

std = ["num-traits/std", "matrixmultiply/std"]
rayon = ["rayon_", "std"]
Expand Down
4 changes: 0 additions & 4 deletions README.rst
Expand Up @@ -85,10 +85,6 @@ your `Cargo.toml`.

- ``approx``

- Implementations of traits from version 0.4 of the [`approx`] crate.

- ``approx-0_5``

- Implementations of traits from version 0.5 of the [`approx`] crate.

- ``blas``
Expand Down
5 changes: 1 addition & 4 deletions src/doc/crate_feature_flags.rs
Expand Up @@ -19,10 +19,7 @@
//! - Implies std
//!
//! ## `approx`
//! - Enables implementations of traits from version 0.4 of the [`approx`] crate.
//!
//! ## `approx-0_5`
//! - Enables implementations of traits from version 0.5 of the [`approx`] crate.
//! - Enables implementations of traits of the [`approx`] crate.
//!
//! ## `blas`
//! - Enable transparent BLAS support for matrix multiplication.
Expand Down
5 changes: 2 additions & 3 deletions src/lib.rs
Expand Up @@ -81,8 +81,7 @@
//! - `std`: Rust standard library-using functionality (enabled by default)
//! - `serde`: serialization support for serde 1.x
//! - `rayon`: Parallel iterators, parallelized methods, the [`parallel`] module and [`par_azip!`].
//! - `approx` Implementations of traits from version 0.4 of the [`approx`] crate.
//! - `approx-0_5`: Implementations of traits from version 0.5 of the [`approx`] crate.
//! - `approx` Implementations of traits from the [`approx`] crate.
//! - `blas`: transparent BLAS support for matrix multiplication, needs configuration.
//! - `matrixmultiply-threading`: Use threading from `matrixmultiply`.
//!
Expand Down Expand Up @@ -1600,7 +1599,7 @@ pub mod linalg;
mod impl_ops;
pub use crate::impl_ops::ScalarOperand;

#[cfg(any(feature = "approx", feature = "approx-0_5"))]
#[cfg(feature = "approx")]
mod array_approx;

// Array view methods
Expand Down

0 comments on commit ea62b5d

Please sign in to comment.