Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs don't show right #64

Merged
merged 3 commits into from
Sep 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
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
Loading