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

Update image requirement from 0.24.3 to 0.25.5 #660

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion plotters-bitmap/Cargo.toml
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ version = "0.3.6"
path = "../plotters-backend"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.image]
version = "0.24.3"
version = "0.25.5"
optional = true
default-features = false
features = ["jpeg", "png", "bmp"]
2 changes: 1 addition & 1 deletion plotters-svg/Cargo.toml
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ version = "0.3.6"
path = "../plotters-backend"

[dependencies.image]
version = "0.24.2"
version = "0.25.5"
optional = true
default-features = false
features = ["jpeg", "png", "bmp"]
2 changes: 1 addition & 1 deletion plotters/Cargo.toml
Original file line number Diff line number Diff line change
@@ -46,7 +46,7 @@ once_cell = { version = "1.8.0", optional = true }


[target.'cfg(not(all(target_arch = "wasm32", not(target_os = "wasi"))))'.dependencies.image]
version = "0.24.3"
version = "0.25.5"
optional = true
default-features = false
features = ["jpeg", "png", "bmp"]

Unchanged files with check annotations Beta

}
fn from_index(&self, index: usize) -> Option<Self::ValueType> {
if let Ok(index) = Self::ValueType::try_from(index) {

Check warning on line 29 in plotters/src/coord/ranged1d/types/numeric.rs

GitHub Actions / build_and_test (macos-latest)

irrefutable `if let` pattern

Check warning on line 29 in plotters/src/coord/ranged1d/types/numeric.rs

GitHub Actions / build_and_test (ubuntu-latest)

irrefutable `if let` pattern

Check warning on line 29 in plotters/src/coord/ranged1d/types/numeric.rs

GitHub Actions / build_and_test (macos-latest)

irrefutable `if let` pattern

Check warning on line 29 in plotters/src/coord/ranged1d/types/numeric.rs

GitHub Actions / build_and_test (ubuntu-latest)

irrefutable `if let` pattern

Check warning on line 29 in plotters/src/coord/ranged1d/types/numeric.rs

GitHub Actions / build_and_test (macos-latest)

irrefutable `if let` pattern

Check warning on line 29 in plotters/src/coord/ranged1d/types/numeric.rs

GitHub Actions / build_and_test (macos-latest)

irrefutable `if let` pattern

Check warning on line 29 in plotters/src/coord/ranged1d/types/numeric.rs

GitHub Actions / build_and_test (ubuntu-latest)

irrefutable `if let` pattern

Check warning on line 29 in plotters/src/coord/ranged1d/types/numeric.rs

GitHub Actions / build_and_test (ubuntu-latest)

irrefutable `if let` pattern

Check warning on line 29 in plotters/src/coord/ranged1d/types/numeric.rs

GitHub Actions / build_and_test (macos-latest)

irrefutable `if let` pattern

Check warning on line 29 in plotters/src/coord/ranged1d/types/numeric.rs

GitHub Actions / build_and_test (macos-latest)

irrefutable `if let` pattern

Check warning on line 29 in plotters/src/coord/ranged1d/types/numeric.rs

GitHub Actions / build_and_test (ubuntu-latest)

irrefutable `if let` pattern

Check warning on line 29 in plotters/src/coord/ranged1d/types/numeric.rs

GitHub Actions / build_and_test (ubuntu-latest)

irrefutable `if let` pattern

Check warning on line 29 in plotters/src/coord/ranged1d/types/numeric.rs

GitHub Actions / build_and_test (macos-latest)

irrefutable `if let` pattern

Check warning on line 29 in plotters/src/coord/ranged1d/types/numeric.rs

GitHub Actions / build_and_test (macos-latest)

irrefutable `if let` pattern

Check warning on line 29 in plotters/src/coord/ranged1d/types/numeric.rs

GitHub Actions / build_and_test (macos-latest)

irrefutable `if let` pattern

Check warning on line 29 in plotters/src/coord/ranged1d/types/numeric.rs

GitHub Actions / build_and_test (macos-latest)

irrefutable `if let` pattern

Check warning on line 29 in plotters/src/coord/ranged1d/types/numeric.rs

GitHub Actions / build_and_test (ubuntu-latest)

irrefutable `if let` pattern

Check warning on line 29 in plotters/src/coord/ranged1d/types/numeric.rs

GitHub Actions / build_and_test (ubuntu-latest)

irrefutable `if let` pattern

Check warning on line 29 in plotters/src/coord/ranged1d/types/numeric.rs

GitHub Actions / build_and_test (ubuntu-latest)

irrefutable `if let` pattern

Check warning on line 29 in plotters/src/coord/ranged1d/types/numeric.rs

GitHub Actions / build_and_test (ubuntu-latest)

irrefutable `if let` pattern

Check warning on line 29 in plotters/src/coord/ranged1d/types/numeric.rs

GitHub Actions / build_and_test (windows-latest)

irrefutable `if let` pattern

Check warning on line 29 in plotters/src/coord/ranged1d/types/numeric.rs

GitHub Actions / build_and_test (windows-latest)

irrefutable `if let` pattern

Check warning on line 29 in plotters/src/coord/ranged1d/types/numeric.rs

GitHub Actions / build_and_test (windows-latest)

irrefutable `if let` pattern

Check warning on line 29 in plotters/src/coord/ranged1d/types/numeric.rs

GitHub Actions / build_and_test (windows-latest)

irrefutable `if let` pattern

Check warning on line 29 in plotters/src/coord/ranged1d/types/numeric.rs

GitHub Actions / build_and_test (windows-latest)

irrefutable `if let` pattern

Check warning on line 29 in plotters/src/coord/ranged1d/types/numeric.rs

GitHub Actions / build_and_test (windows-latest)

irrefutable `if let` pattern

Check warning on line 29 in plotters/src/coord/ranged1d/types/numeric.rs

GitHub Actions / build_and_test (windows-latest)

irrefutable `if let` pattern

Check warning on line 29 in plotters/src/coord/ranged1d/types/numeric.rs

GitHub Actions / build_and_test (windows-latest)

irrefutable `if let` pattern

Check warning on line 29 in plotters/src/coord/ranged1d/types/numeric.rs

GitHub Actions / build_and_test (windows-latest)

irrefutable `if let` pattern

Check warning on line 29 in plotters/src/coord/ranged1d/types/numeric.rs

GitHub Actions / build_and_test (windows-latest)

irrefutable `if let` pattern
return Some(self.0 + index);
}
None
let color = image::ColorType::Rgb8;
encoder.write_image(src, w, h, color).map_err(|e| {

Check failure on line 605 in plotters-svg/src/svg.rs

GitHub Actions / test_all_features

mismatched types

Check failure on line 605 in plotters-svg/src/svg.rs

GitHub Actions / cargo-doc

mismatched types

Check failure on line 605 in plotters-svg/src/svg.rs

GitHub Actions / cargo-doc

mismatched types

Check failure on line 605 in plotters-svg/src/svg.rs

GitHub Actions / test_all_features

mismatched types
DrawingErrorKind::DrawingError(Error::new(
std::io::ErrorKind::Other,
format!("Image error: {}", e),
impl std::error::Error for FontError {}
#[derive(Clone)]
pub struct FontDataInternal(String, String);

Check warning on line 16 in plotters/src/style/font/naive.rs

GitHub Actions / build_and_test (macos-latest)

fields `0` and `1` are never read

Check warning on line 16 in plotters/src/style/font/naive.rs

GitHub Actions / build_and_test (ubuntu-latest)

fields `0` and `1` are never read

Check warning on line 16 in plotters/src/style/font/naive.rs

GitHub Actions / build_and_test (macos-latest)

fields `0` and `1` are never read

Check warning on line 16 in plotters/src/style/font/naive.rs

GitHub Actions / build_and_test (ubuntu-latest)

fields `0` and `1` are never read

Check warning on line 16 in plotters/src/style/font/naive.rs

GitHub Actions / build_and_test (windows-latest)

fields `0` and `1` are never read

Check warning on line 16 in plotters/src/style/font/naive.rs

GitHub Actions / build_and_test (windows-latest)

fields `0` and `1` are never read
impl FontData for FontDataInternal {
type ErrorType = FontError;