Skip to content

Commit dbe848c

Browse files
authoredMay 2, 2024
Merge pull request #104 from epage/template
chore: Update from _rust/main template
2 parents f85ffc4 + aca05cc commit dbe848c

File tree

4 files changed

+1
-40
lines changed

4 files changed

+1
-40
lines changed
 

‎.clippy.toml

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
warn-on-all-wildcard-imports = true
21
allow-print-in-tests = true
32
allow-expect-in-tests = true
43
allow-unwrap-in-tests = true

‎.github/renovate.json5

+1-33
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,6 @@
77
configMigration: true,
88
dependencyDashboard: true,
99
customManagers: [
10-
{
11-
customType: 'regex',
12-
fileMatch: [
13-
'^rust-toolchain\\.toml$',
14-
'Cargo.toml$',
15-
'clippy.toml$',
16-
'\\.clippy.toml$',
17-
'^\\.github/workflows/ci.yml$',
18-
'^\\.github/workflows/rust-next.yml$',
19-
],
20-
matchStrings: [
21-
'MSRV.*?(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)',
22-
'(?<currentValue>\\d+\\.\\d+(\\.\\d+)?).*?MSRV',
23-
],
24-
depNameTemplate: 'MSRV',
25-
packageNameTemplate: 'rust-lang/rust',
26-
datasourceTemplate: 'github-releases',
27-
},
2810
{
2911
customType: 'regex',
3012
fileMatch: [
@@ -45,21 +27,6 @@
4527
},
4628
],
4729
packageRules: [
48-
{
49-
commitMessageTopic: 'MSRV',
50-
matchManagers: [
51-
'custom.regex',
52-
],
53-
matchPackageNames: [
54-
'MSRV',
55-
],
56-
minimumReleaseAge: '126 days', // 3 releases * 6 weeks per release * 7 days per week
57-
internalChecksFilter: 'strict',
58-
extractVersion: '^(?<version>\\d+\\.\\d+)', // Drop the patch version
59-
schedule: [
60-
'* * * * *',
61-
],
62-
},
6330
{
6431
commitMessageTopic: 'Rust Stable',
6532
matchManagers: [
@@ -72,6 +39,7 @@
7239
schedule: [
7340
'* * * * *',
7441
],
42+
automerge: true,
7543
},
7644
// Goals:
7745
// - Keep version reqs low, ignoring compatible normal/build dependencies

‎Cargo.toml

-5
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@ debug_assert_with_mut_call = "warn"
3535
doc_markdown = "warn"
3636
empty_enum = "warn"
3737
enum_glob_use = "warn"
38-
exhaustive_enums = "warn"
39-
exhaustive_structs = "warn"
40-
exit = "warn"
4138
expl_impl_clone_on_copy = "warn"
4239
explicit_deref_methods = "warn"
4340
explicit_into_iter_loop = "warn"
@@ -54,7 +51,6 @@ inconsistent_struct_constructor = "warn"
5451
inefficient_to_string = "warn"
5552
infinite_loop = "warn"
5653
invalid_upcast_comparisons = "warn"
57-
items_after_statements = "warn"
5854
large_digit_groups = "warn"
5955
large_stack_arrays = "warn"
6056
large_types_passed_by_value = "warn"
@@ -85,7 +81,6 @@ string_lit_as_bytes = "warn"
8581
string_to_string = "warn"
8682
todo = "warn"
8783
trait_duplication_in_bounds = "warn"
88-
unwrap_used = "warn"
8984
verbose_file_reads = "warn"
9085
wildcard_imports = "warn"
9186
zero_sized_map_values = "warn"

‎src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@
5656
//! Or implement our [`LogLevel`] trait to customize the default log level and help output.
5757
5858
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
59-
#![warn(missing_docs)]
6059
#![warn(clippy::print_stderr)]
6160
#![warn(clippy::print_stdout)]
6261

0 commit comments

Comments
 (0)