Skip to content

Commit

Permalink
Bump base64 from 0.13 to 0.22 (#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
DCjanus authored May 5, 2024
1 parent a17e710 commit 1fd1ee1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion libs/badge/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ edition = "2021"
path = "badge.rs"

[dependencies]
base64 = "0.13"
base64 = "0.22"
once_cell = "1"
rusttype = "0.9"
serde = { version = "1", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion libs/badge/badge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ impl Badge {
pub fn to_svg_data_uri(&self) -> String {
format!(
"data:image/svg+xml;base64,{}",
Base64Display::with_config(self.to_svg().as_bytes(), base64::STANDARD)
Base64Display::new(self.to_svg().as_bytes(), &base64::prelude::BASE64_STANDARD)
)
}

Expand Down

0 comments on commit 1fd1ee1

Please sign in to comment.