Skip to content

Commit f8acfee

Browse files
committed
chore: Update from _rust/main template
2 parents 5212df9 + 51de731 commit f8acfee

File tree

4 files changed

+1
-40
lines changed

4 files changed

+1
-40
lines changed

.clippy.toml

Lines changed: 0 additions & 1 deletion
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

Lines changed: 1 addition & 33 deletions
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: '840 days', // 20 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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ debug_assert_with_mut_call = "warn"
3737
doc_markdown = "warn"
3838
empty_enum = "warn"
3939
enum_glob_use = "warn"
40-
exhaustive_enums = "warn"
41-
exhaustive_structs = "warn"
42-
exit = "warn"
4340
expl_impl_clone_on_copy = "warn"
4441
explicit_deref_methods = "warn"
4542
explicit_into_iter_loop = "warn"
@@ -56,7 +53,6 @@ inconsistent_struct_constructor = "warn"
5653
inefficient_to_string = "warn"
5754
infinite_loop = "warn"
5855
invalid_upcast_comparisons = "warn"
59-
items_after_statements = "warn"
6056
large_digit_groups = "warn"
6157
large_stack_arrays = "warn"
6258
large_types_passed_by_value = "warn"
@@ -87,7 +83,6 @@ string_lit_as_bytes = "warn"
8783
string_to_string = "warn"
8884
todo = "warn"
8985
trait_duplication_in_bounds = "warn"
90-
unwrap_used = "warn"
9186
verbose_file_reads = "warn"
9287
wildcard_imports = "warn"
9388
zero_sized_map_values = "warn"

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,6 @@
261261
//! [log-crate-url]: https://docs.rs/log
262262
263263
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
264-
#![warn(missing_docs)]
265264
#![warn(clippy::print_stderr)]
266265
#![warn(clippy::print_stdout)]
267266

0 commit comments

Comments
 (0)