Skip to content

Commit f4160cc

Browse files
authoredSep 5, 2023
Docs don't show right (#64)
1 parent dda33bd commit f4160cc

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed
 

‎.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ jobs:
2929
cargo check --no-default-features
3030
- name: test
3131
run: |
32-
cargo test
32+
cargo test --features=intel-mkl
3333
- name: check formatting
3434
run: cargo fmt -- --check
3535
- name: code-coverage
3636
run: |
3737
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 }}
3939
if: matrix.target == 'x86_64-unknown-linux-gnu' && matrix.version == 'nightly'

‎CHANGELOG.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Change Log
22

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
48
### Added
59
- The `ThresholdApplyExt` trait to apply user-defined threshold
610
- The `threshold_apply` method to the `ArrayBase` and `Image` types

‎Cargo.toml

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ndarray-vision"
3-
version = "0.5.0"
3+
version = "0.5.1"
44
authors = ["xd009642 <danielmckenna93@gmail.com>"]
55
description = "A computer vision library built on top of ndarray"
66
repository = "https://github.com/xd009642/ndarray-vision"
@@ -24,7 +24,7 @@ transform = ["ndarray-linalg"]
2424
[dependencies]
2525
ndarray = { version = "0.15", default-features = false }
2626
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 }
2828
noisy_float = { version = "0.2", default-features = false }
2929
num-traits = { version = "0.2", default-features = false }
3030

@@ -35,8 +35,6 @@ rand = "0.8"
3535
assert_approx_eq = "1.1.0"
3636
approx = "0.4"
3737
noisy_float = "0.2"
38-
png = "0.16"
39-
ndarray-linalg = { version = "0.14", features = ["intel-mkl"] }
38+
png = "0.17"
4039
# it is a dependency of intel-mkl-tool, we pin it to temporary solve
4140
# https://github.com/rust-math/intel-mkl-src/issues/68
42-
anyhow = "<1.0.49"

‎examples/transforms.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ fn main() {
4545
let w = &mut BufWriter::new(file);
4646

4747
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);
4949
encoder.set_depth(png::BitDepth::Eight);
5050

5151
println!(

0 commit comments

Comments
 (0)
Please sign in to comment.