Skip to content

Commit

Permalink
Docs don't show right (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
xd009642 committed Sep 5, 2023
1 parent dda33bd commit f4160cc
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Expand Up @@ -29,11 +29,11 @@ jobs:
cargo check --no-default-features
- name: test
run: |
cargo test
cargo test --features=intel-mkl
- name: check formatting
run: cargo fmt -- --check
- name: code-coverage
run: |
cargo install cargo-tarpaulin --force --git https://github.com/xd009642/tarpaulin --branch develop
cargo tarpaulin --force-clean --coveralls ${{ secrets.COVERALLS_TOKEN }}
cargo tarpaulin --features=intel-mkl --force-clean --coveralls ${{ secrets.COVERALLS_TOKEN }}
if: matrix.target == 'x86_64-unknown-linux-gnu' && matrix.version == 'nightly'
6 changes: 5 additions & 1 deletion CHANGELOG.md
@@ -1,6 +1,10 @@
# Change Log

## [0.5.0]
## [0.5.1] 2023-09-04
### Changed
- Updated dependencies and attempt to fix doc.rs rendering

## [0.5.0] 2023-07-23
### Added
- The `ThresholdApplyExt` trait to apply user-defined threshold
- The `threshold_apply` method to the `ArrayBase` and `Image` types
Expand Down
8 changes: 3 additions & 5 deletions Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "ndarray-vision"
version = "0.5.0"
version = "0.5.1"
authors = ["xd009642 <danielmckenna93@gmail.com>"]
description = "A computer vision library built on top of ndarray"
repository = "https://github.com/xd009642/ndarray-vision"
Expand All @@ -24,7 +24,7 @@ transform = ["ndarray-linalg"]
[dependencies]
ndarray = { version = "0.15", default-features = false }
ndarray-stats = { version = "0.5", default-features = false }
ndarray-linalg = { version = "0.14", default-features = false, optional = true }
ndarray-linalg = { version = "0.16", default-features = false, optional = true }
noisy_float = { version = "0.2", default-features = false }
num-traits = { version = "0.2", default-features = false }

Expand All @@ -35,8 +35,6 @@ rand = "0.8"
assert_approx_eq = "1.1.0"
approx = "0.4"
noisy_float = "0.2"
png = "0.16"
ndarray-linalg = { version = "0.14", features = ["intel-mkl"] }
png = "0.17"
# it is a dependency of intel-mkl-tool, we pin it to temporary solve
# https://github.com/rust-math/intel-mkl-src/issues/68
anyhow = "<1.0.49"
2 changes: 1 addition & 1 deletion examples/transforms.rs
Expand Up @@ -45,7 +45,7 @@ fn main() {
let w = &mut BufWriter::new(file);

let mut encoder = png::Encoder::new(w, transformed.cols() as u32, transformed.rows() as u32);
encoder.set_color(png::ColorType::RGB);
encoder.set_color(png::ColorType::Rgb);
encoder.set_depth(png::BitDepth::Eight);

println!(
Expand Down

0 comments on commit f4160cc

Please sign in to comment.