mirror of
https://github.com/chatmail/core.git
synced 2026-05-03 13:26:28 +03:00
Merge pull request #6751 from chatmail/dependabot/cargo/image-0.25.6
This commit is contained in:
4
Cargo.lock
generated
4
Cargo.lock
generated
@@ -2784,9 +2784,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "image"
|
name = "image"
|
||||||
version = "0.25.5"
|
version = "0.25.6"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "cd6f44aed642f18953a158afeb30206f4d50da59fbc66ecb53c66488de73563b"
|
checksum = "db35664ce6b9810857a38a906215e75a9c879f0696556a39f59c62829710251a"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bytemuck",
|
"bytemuck",
|
||||||
"byteorder-lite",
|
"byteorder-lite",
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ http-body-util = "0.1.3"
|
|||||||
humansize = "2"
|
humansize = "2"
|
||||||
hyper = "1"
|
hyper = "1"
|
||||||
hyper-util = "0.1.11"
|
hyper-util = "0.1.11"
|
||||||
image = { version = "0.25.5", default-features=false, features = ["gif", "jpeg", "ico", "png", "pnm", "webp", "bmp"] }
|
image = { version = "0.25.6", default-features=false, features = ["gif", "jpeg", "ico", "png", "pnm", "webp", "bmp"] }
|
||||||
iroh-gossip = { version = "0.33", default-features = false, features = ["net"] }
|
iroh-gossip = { version = "0.33", default-features = false, features = ["net"] }
|
||||||
iroh = { version = "0.33", default-features = false }
|
iroh = { version = "0.33", default-features = false }
|
||||||
kamadak-exif = "0.6.1"
|
kamadak-exif = "0.6.1"
|
||||||
|
|||||||
@@ -174,7 +174,7 @@ async fn test_selfavatar_outside_blobdir() {
|
|||||||
let avatar_blob = t.get_config(Config::Selfavatar).await.unwrap().unwrap();
|
let avatar_blob = t.get_config(Config::Selfavatar).await.unwrap().unwrap();
|
||||||
let avatar_path = Path::new(&avatar_blob);
|
let avatar_path = Path::new(&avatar_blob);
|
||||||
assert!(
|
assert!(
|
||||||
avatar_blob.ends_with("009161310a6afc319163e4bcabd23b9.jpg"),
|
avatar_blob.ends_with("1e08d1c9398297c21dd3820f7db2324.jpg"),
|
||||||
"The avatar filename should be its hash, put instead it's {avatar_blob}"
|
"The avatar filename should be its hash, put instead it's {avatar_blob}"
|
||||||
);
|
);
|
||||||
let scaled_avatar_size = file_size(avatar_path).await;
|
let scaled_avatar_size = file_size(avatar_path).await;
|
||||||
|
|||||||
Reference in New Issue
Block a user