Skip to content

Commit eae0bfa

Browse files
committed
add cancel button in image_upload
1 parent 6cda2f7 commit eae0bfa

5 files changed

Lines changed: 263 additions & 30 deletions

File tree

Cargo.lock

Lines changed: 72 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ imbl = { version = "6.1.0", features = ["serde"] } # same as matrix-sdk
3737
futures-util = "0.3"
3838
htmlize = "1.0.5"
3939
imghdr = "0.7.0"
40+
image = { version = "0.25", default-features = false, features = ["jpeg", "png"] }
4041
linkify = "0.10.0"
4142
matrix-sdk-base = { git = "https://github.com/matrix-org/matrix-rust-sdk", branch = "main" }
4243
matrix-sdk = { git = "https://github.com/matrix-org/matrix-rust-sdk", branch = "main", default-features = false, features = [ "e2e-encryption", "automatic-room-key-forwarding", "markdown", "sqlite", "rustls-tls", "bundled-sqlite", "sso-login" ] }

0 commit comments

Comments
 (0)