Finish Rust Edition 2024 migration

This commit is contained in:
Jonas Platte
2026-04-07 23:17:59 +02:00
committed by Damir Jelić
parent 1f3dea778b
commit 894f94c383
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -7,4 +7,4 @@ group_imports = "StdExternalCrate"
format_code_in_doc_comments = true
doc_comment_code_block_width = 80
# Workaround for https://github.com/rust-lang/rust.vim/issues/464
edition = "2021"
edition = "2024"
+1 -1
View File
@@ -3,7 +3,7 @@ name = "matrix-sdk-qrcode"
description = "Library to encode and decode QR codes for interactive verifications in Matrix land"
version = "0.16.0"
authors = ["Damir Jelić <poljar@termina.org.uk>"]
edition = "2021"
edition = "2024"
homepage = "https://github.com/matrix-org/matrix-rust-sdk"
keywords = ["matrix", "chat", "messaging", "ruma", "nio"]
license = "Apache-2.0"
+1 -1
View File
@@ -21,7 +21,7 @@ use vodozemac::Ed25519PublicKey;
use crate::{
error::{DecodingError, EncodingError},
utils::{to_bytes, to_qr_code, HEADER, MAX_MODE, MIN_SECRET_LEN, VERSION},
utils::{HEADER, MAX_MODE, MIN_SECRET_LEN, VERSION, to_bytes, to_qr_code},
};
/// An enum representing the different modes for a QR verification code.
+1 -1
View File
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
use qrcode::{bits::Bits, EcLevel, QrCode, Version};
use qrcode::{EcLevel, QrCode, Version, bits::Bits};
use ruma::serde::Base64;
use vodozemac::Ed25519PublicKey;