Skip to content

Commit

Permalink
update deps to support OpenSSL v3+ (#111)
Browse files Browse the repository at this point in the history
* deps: updates to support OpenSSL v3+

* chore: fix lint issue
  • Loading branch information
calebcartwright committed Sep 6, 2022
1 parent 858dec8 commit 804128d
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 12 deletions.
32 changes: 22 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion src/badge.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#[derive(std::fmt::Debug, std::cmp::PartialEq)]
use std::cmp::{Eq, PartialEq};
use std::fmt::Debug;

#[derive(Debug, Eq, PartialEq)]
pub enum BadgeStyle {
Flat,
FlatSquare,
Expand Down
5 changes: 4 additions & 1 deletion src/graphics/raster.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
use std::cmp::{Eq, PartialEq};
use std::fmt::Debug;

use super::{SvgProcessor, INVALID_SVG};
use crate::badge::BadgeStyle;

Expand All @@ -9,7 +12,7 @@ use gio::{MemoryInputStream, NONE_CANCELLABLE, NONE_FILE};
use glib::Bytes;
use librsvg::IntrinsicDimensions;

#[derive(std::fmt::Debug, std::cmp::PartialEq)]
#[derive(Debug, Eq, PartialEq)]
pub enum SvgToPngConversionError {
ImageContextCreationFailure,
ImageSurfaceCreationFailure,
Expand Down

0 comments on commit 804128d

Please sign in to comment.