File tree 4 files changed +11
-9
lines changed
4 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -29,11 +29,11 @@ jobs:
29
29
cargo check --no-default-features
30
30
- name : test
31
31
run : |
32
- cargo test
32
+ cargo test --features=intel-mkl
33
33
- name : check formatting
34
34
run : cargo fmt -- --check
35
35
- name : code-coverage
36
36
run : |
37
37
cargo install cargo-tarpaulin --force --git https://github.com/xd009642/tarpaulin --branch develop
38
- cargo tarpaulin --force-clean --coveralls ${{ secrets.COVERALLS_TOKEN }}
38
+ cargo tarpaulin --features=intel-mkl -- force-clean --coveralls ${{ secrets.COVERALLS_TOKEN }}
39
39
if : matrix.target == 'x86_64-unknown-linux-gnu' && matrix.version == 'nightly'
Original file line number Diff line number Diff line change 1
1
# Change Log
2
2
3
- ## [ 0.5.0]
3
+ ## [ 0.5.1] 2023-09-04
4
+ ### Changed
5
+ - Updated dependencies and attempt to fix doc.rs rendering
6
+
7
+ ## [ 0.5.0] 2023-07-23
4
8
### Added
5
9
- The ` ThresholdApplyExt ` trait to apply user-defined threshold
6
10
- The ` threshold_apply ` method to the ` ArrayBase ` and ` Image ` types
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " ndarray-vision"
3
- version = " 0.5.0 "
3
+ version = " 0.5.1 "
4
4
authors = [" xd009642 <danielmckenna93@gmail.com>" ]
5
5
description = " A computer vision library built on top of ndarray"
6
6
repository = " https://github.com/xd009642/ndarray-vision"
@@ -24,7 +24,7 @@ transform = ["ndarray-linalg"]
24
24
[dependencies ]
25
25
ndarray = { version = " 0.15" , default-features = false }
26
26
ndarray-stats = { version = " 0.5" , default-features = false }
27
- ndarray-linalg = { version = " 0.14 " , default-features = false , optional = true }
27
+ ndarray-linalg = { version = " 0.16 " , default-features = false , optional = true }
28
28
noisy_float = { version = " 0.2" , default-features = false }
29
29
num-traits = { version = " 0.2" , default-features = false }
30
30
@@ -35,8 +35,6 @@ rand = "0.8"
35
35
assert_approx_eq = " 1.1.0"
36
36
approx = " 0.4"
37
37
noisy_float = " 0.2"
38
- png = " 0.16"
39
- ndarray-linalg = { version = " 0.14" , features = [" intel-mkl" ] }
38
+ png = " 0.17"
40
39
# it is a dependency of intel-mkl-tool, we pin it to temporary solve
41
40
# https://github.com/rust-math/intel-mkl-src/issues/68
42
- anyhow = " <1.0.49"
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ fn main() {
45
45
let w = & mut BufWriter :: new ( file) ;
46
46
47
47
let mut encoder = png:: Encoder :: new ( w, transformed. cols ( ) as u32 , transformed. rows ( ) as u32 ) ;
48
- encoder. set_color ( png:: ColorType :: RGB ) ;
48
+ encoder. set_color ( png:: ColorType :: Rgb ) ;
49
49
encoder. set_depth ( png:: BitDepth :: Eight ) ;
50
50
51
51
println ! (
You can’t perform that action at this time.
0 commit comments