File tree Expand file tree Collapse file tree 13 files changed +21
-14
lines changed Expand file tree Collapse file tree 13 files changed +21
-14
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.83.0
105
105
106
- # Minimum Supported Rust Version = 1.81 .0
106
+ # Minimum Supported Rust Version = 1.77 .0
107
107
- os : ubuntu-latest
108
- rust : 1.81 .0
108
+ rust : 1.77 .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.152.0"
4
4
edition = " 2021"
5
5
license = " MPL-2.0"
6
- rust-version = " 1.81 "
6
+ rust-version = " 1.77 "
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 @@ -312,7 +312,7 @@ impl ChatId {
312
312
313
313
/// Create a group or mailinglist raw database record with the given parameters.
314
314
/// The function does not add SELF nor checks if the record already exists.
315
- #[ expect ( clippy:: too_many_arguments) ]
315
+ #[ allow ( clippy:: too_many_arguments) ]
316
316
pub ( crate ) async fn create_multiuser_record (
317
317
context : & Context ,
318
318
chattype : Chattype ,
@@ -4444,7 +4444,7 @@ pub(crate) async fn delete_and_reset_all_device_msgs(context: &Context) -> Resul
4444
4444
///
4445
4445
/// For example, it can be a message showing that a member was added to a group.
4446
4446
/// Doesn't fail if the chat doesn't exist.
4447
- #[ expect ( clippy:: too_many_arguments) ]
4447
+ #[ allow ( clippy:: too_many_arguments) ]
4448
4448
pub ( crate ) async fn add_info_msg_with_cmd (
4449
4449
context : & Context ,
4450
4450
chat_id : ChatId ,
Original file line number Diff line number Diff line change @@ -805,6 +805,7 @@ impl Contact {
805
805
}
806
806
807
807
let mut name = sanitize_name ( name) ;
808
+ #[ allow( clippy:: collapsible_if) ]
808
809
if origin <= Origin :: OutgoingTo {
809
810
// The user may accidentally have written to a "noreply" address with another MUA:
810
811
if addr. contains ( "noreply" )
Original file line number Diff line number Diff line change @@ -1301,7 +1301,7 @@ impl Session {
1301
1301
/// Returns the last UID fetched successfully and the info about each downloaded message.
1302
1302
/// If the message is incorrect or there is a failure to write a message to the database,
1303
1303
/// it is skipped and the error is logged.
1304
- #[ expect ( clippy:: too_many_arguments) ]
1304
+ #[ allow ( clippy:: too_many_arguments) ]
1305
1305
pub ( crate ) async fn fetch_many_msgs (
1306
1306
& mut self ,
1307
1307
context : & Context ,
@@ -2689,6 +2689,7 @@ mod tests {
2689
2689
}
2690
2690
}
2691
2691
2692
+ #[ allow( clippy:: too_many_arguments) ]
2692
2693
async fn check_target_folder_combination (
2693
2694
folder : & str ,
2694
2695
mvbox_move : bool ,
Original file line number Diff line number Diff line change @@ -1047,6 +1047,7 @@ impl MimeFactory {
1047
1047
part. body ( text)
1048
1048
}
1049
1049
1050
+ #[ allow( clippy:: cognitive_complexity) ]
1050
1051
async fn render_message (
1051
1052
& mut self ,
1052
1053
context : & Context ,
Original file line number Diff line number Diff line change @@ -1279,7 +1279,7 @@ impl MimeMessage {
1279
1279
Ok ( self . parts . len ( ) > old_part_count)
1280
1280
}
1281
1281
1282
- #[ expect ( clippy:: too_many_arguments) ]
1282
+ #[ allow ( clippy:: too_many_arguments) ]
1283
1283
async fn do_add_single_file_part (
1284
1284
& mut self ,
1285
1285
context : & Context ,
Original file line number Diff line number Diff line change @@ -371,6 +371,7 @@ impl Params {
371
371
/// Note that in the [ParamsFile::FsPath] case the blob can be
372
372
/// created without copying if the path already refers to a valid
373
373
/// blob. If so a [BlobObject] will be returned.
374
+ #[ allow( clippy:: needless_lifetimes) ]
374
375
pub async fn get_blob < ' a > (
375
376
& self ,
376
377
key : Param ,
Original file line number Diff line number Diff line change @@ -21,9 +21,11 @@ use tokio::runtime::Handle;
21
21
use crate :: constants:: KeyGenType ;
22
22
use crate :: key:: { DcKey , Fingerprint } ;
23
23
24
+ #[ allow( missing_docs) ]
24
25
#[ cfg( test) ]
25
26
pub ( crate ) const HEADER_AUTOCRYPT : & str = "autocrypt-prefer-encrypt" ;
26
27
28
+ #[ allow( missing_docs) ]
27
29
pub const HEADER_SETUPCODE : & str = "passphrase-begin" ;
28
30
29
31
/// 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
- #[ expect ( clippy:: assertions_on_constants) ]
190
+ #[ allow ( 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