Skip to content

Commit 418a005

Browse files
vadixidav9prady9
authored andcommitted
#189 remove core feature
1 parent 5c50135 commit 418a005

File tree

2 files changed

+3
-18
lines changed

2 files changed

+3
-18
lines changed

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ exclude = [
1616
]
1717

1818
[features]
19-
core = []
2019
algorithm = []
2120
arithmetic = []
2221
blas = []
@@ -31,7 +30,7 @@ signal = []
3130
sparse = []
3231
statistics = []
3332
vision = []
34-
default = ["core", "algorithm", "arithmetic", "blas", "data", "indexing", "graphics", "image", "lapack",
33+
default = ["algorithm", "arithmetic", "blas", "data", "indexing", "graphics", "image", "lapack",
3534
"macros", "random", "signal", "sparse", "statistics", "vision"]
3635

3736
[dependencies]

src/lib.rs

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@
3636
#[macro_use]
3737
extern crate lazy_static;
3838

39-
#[cfg(feature = "core")]
4039
pub use crate::array::*;
41-
#[cfg(feature = "core")]
4240
mod array;
4341

4442
#[cfg(feature = "algorithm")]
@@ -51,9 +49,7 @@ pub use crate::arith::*;
5149
#[cfg(feature = "arithmetic")]
5250
mod arith;
5351

54-
#[cfg(feature = "core")]
5552
pub use crate::backend::*;
56-
#[cfg(feature = "core")]
5753
mod backend;
5854

5955
#[cfg(feature = "blas")]
@@ -66,24 +62,16 @@ pub use crate::data::*;
6662
#[cfg(feature = "data")]
6763
mod data;
6864

69-
#[cfg(feature = "core")]
7065
pub use crate::device::*;
71-
#[cfg(feature = "core")]
7266
mod device;
7367

74-
#[cfg(feature = "core")]
7568
pub use crate::defines::*;
76-
#[cfg(feature = "core")]
7769
mod defines;
7870

79-
#[cfg(feature = "core")]
8071
pub use crate::dim4::Dim4;
81-
#[cfg(feature = "core")]
8272
mod dim4;
8373

84-
#[cfg(feature = "core")]
8574
pub use crate::error::{handle_error_general, register_error_handler, Callback, ErrorCallback};
86-
#[cfg(feature = "core")]
8775
mod error;
8876

8977
#[cfg(feature = "indexing")]
@@ -135,12 +123,10 @@ pub use crate::statistics::*;
135123
#[cfg(feature = "statistics")]
136124
mod statistics;
137125

138-
#[cfg(feature = "core")]
139-
pub use crate::util::{FloatingPoint, ComplexFloating, RealFloating, RealNumber};
140126
pub use crate::util::{get_size, HasAfEnum, ImplicitPromote};
141-
pub use crate::util::{GrayRGBConvertible, ImageFilterType, ImageNativeType, Scanable};
127+
pub use crate::util::{ComplexFloating, FloatingPoint, RealFloating, RealNumber};
142128
pub use crate::util::{CovarianceComputable, EdgeComputable, MedianComputable, MomentsComputable};
143-
#[cfg(feature = "core")]
129+
pub use crate::util::{GrayRGBConvertible, ImageFilterType, ImageNativeType, Scanable};
144130
mod util;
145131

146132
#[cfg(feature = "vision")]

0 commit comments

Comments
 (0)