File tree Expand file tree Collapse file tree 13 files changed +14
-21
lines changed Expand file tree Collapse file tree 13 files changed +14
-21
lines changed Original file line number Diff line number Diff line change @@ -103,9 +103,9 @@ jobs:
103
103
- os : macos-latest
104
104
rust : 1.84.0
105
105
106
- # Minimum Supported Rust Version = 1.77 .0
106
+ # Minimum Supported Rust Version = 1.81 .0
107
107
- os : ubuntu-latest
108
- rust : 1.77 .0
108
+ rust : 1.81 .0
109
109
runs-on : ${{ matrix.os }}
110
110
steps :
111
111
- uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name = "deltachat"
3
3
version = " 1.154.3"
4
4
edition = " 2021"
5
5
license = " MPL-2.0"
6
- rust-version = " 1.77 "
6
+ rust-version = " 1.81 "
7
7
repository = " https://github.com/deltachat/deltachat-core-rust"
8
8
9
9
[profile .dev ]
Original file line number Diff line number Diff line change @@ -313,7 +313,7 @@ impl ChatId {
313
313
314
314
/// Create a group or mailinglist raw database record with the given parameters.
315
315
/// The function does not add SELF nor checks if the record already exists.
316
- #[ allow ( clippy:: too_many_arguments) ]
316
+ #[ expect ( clippy:: too_many_arguments) ]
317
317
pub ( crate ) async fn create_multiuser_record (
318
318
context : & Context ,
319
319
chattype : Chattype ,
@@ -4616,7 +4616,7 @@ pub(crate) async fn delete_and_reset_all_device_msgs(context: &Context) -> Resul
4616
4616
///
4617
4617
/// For example, it can be a message showing that a member was added to a group.
4618
4618
/// Doesn't fail if the chat doesn't exist.
4619
- #[ allow ( clippy:: too_many_arguments) ]
4619
+ #[ expect ( clippy:: too_many_arguments) ]
4620
4620
pub ( crate ) async fn add_info_msg_with_cmd (
4621
4621
context : & Context ,
4622
4622
chat_id : ChatId ,
Original file line number Diff line number Diff line change @@ -802,7 +802,6 @@ impl Contact {
802
802
}
803
803
804
804
let mut name = sanitize_name ( name) ;
805
- #[ allow( clippy:: collapsible_if) ]
806
805
if origin <= Origin :: OutgoingTo {
807
806
// The user may accidentally have written to a "noreply" address with another MUA:
808
807
if addr. contains ( "noreply" )
Original file line number Diff line number Diff line change @@ -1331,7 +1331,7 @@ impl Session {
1331
1331
/// Returns the last UID fetched successfully and the info about each downloaded message.
1332
1332
/// If the message is incorrect or there is a failure to write a message to the database,
1333
1333
/// it is skipped and the error is logged.
1334
- #[ allow ( clippy:: too_many_arguments) ]
1334
+ #[ expect ( clippy:: too_many_arguments) ]
1335
1335
pub ( crate ) async fn fetch_many_msgs (
1336
1336
& mut self ,
1337
1337
context : & Context ,
@@ -2726,7 +2726,6 @@ mod tests {
2726
2726
}
2727
2727
}
2728
2728
2729
- #[ allow( clippy:: too_many_arguments) ]
2730
2729
async fn check_target_folder_combination (
2731
2730
folder : & str ,
2732
2731
mvbox_move : bool ,
Original file line number Diff line number Diff line change @@ -1150,7 +1150,6 @@ impl MimeFactory {
1150
1150
part. body ( text)
1151
1151
}
1152
1152
1153
- #[ allow( clippy:: cognitive_complexity) ]
1154
1153
async fn render_message (
1155
1154
& mut self ,
1156
1155
context : & Context ,
Original file line number Diff line number Diff line change @@ -1290,7 +1290,7 @@ impl MimeMessage {
1290
1290
Ok ( self . parts . len ( ) > old_part_count)
1291
1291
}
1292
1292
1293
- #[ allow ( clippy:: too_many_arguments) ]
1293
+ #[ expect ( clippy:: too_many_arguments) ]
1294
1294
async fn do_add_single_file_part (
1295
1295
& mut self ,
1296
1296
context : & Context ,
Original file line number Diff line number Diff line change @@ -373,7 +373,6 @@ impl Params {
373
373
/// Note that in the [ParamsFile::FsPath] case the blob can be
374
374
/// created without copying if the path already refers to a valid
375
375
/// blob. If so a [BlobObject] will be returned.
376
- #[ allow( clippy:: needless_lifetimes) ]
377
376
pub async fn get_blob < ' a > (
378
377
& self ,
379
378
key : Param ,
Original file line number Diff line number Diff line change @@ -21,11 +21,9 @@ use tokio::runtime::Handle;
21
21
use crate :: constants:: KeyGenType ;
22
22
use crate :: key:: { DcKey , Fingerprint } ;
23
23
24
- #[ allow( missing_docs) ]
25
24
#[ cfg( test) ]
26
25
pub ( crate ) const HEADER_AUTOCRYPT : & str = "autocrypt-prefer-encrypt" ;
27
26
28
- #[ allow( missing_docs) ]
29
27
pub const HEADER_SETUPCODE : & str = "passphrase-begin" ;
30
28
31
29
/// Preferred symmetric encryption algorithm.
Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ mod tests {
187
187
Ok ( ( ) )
188
188
}
189
189
190
- #[ allow ( clippy:: assertions_on_constants) ]
190
+ #[ expect ( clippy:: assertions_on_constants) ]
191
191
#[ tokio:: test( flavor = "multi_thread" , worker_threads = 2 ) ]
192
192
async fn test_quota_thresholds ( ) -> anyhow:: Result < ( ) > {
193
193
assert ! ( QUOTA_ALLCLEAR_PERCENTAGE > 50 ) ;
You can’t perform that action at this time.
0 commit comments