fix(clippy): Silence future-incompat warnings until we upgrade Abscissa (#6024)
* Silence future-incompat warnings until we upgrade Abscissa * Add missing cargo and clippy configs to workflow triggers
This commit is contained in:
parent
c92f7b0150
commit
dd90f79b48
|
@ -1,5 +1,11 @@
|
|||
# Zebra cargo configuration
|
||||
|
||||
# Disabled until we upgrade to abscissa 0.7 or later:
|
||||
# https://github.com/ZcashFoundation/zebra/issues/5502
|
||||
# https://doc.rust-lang.org/cargo/reference/future-incompat-report.html
|
||||
[future-incompat-report]
|
||||
frequency = "never"
|
||||
|
||||
# Flags that apply to all Zebra crates and configurations
|
||||
[target.'cfg(all())']
|
||||
rustflags = [
|
||||
|
@ -38,7 +44,7 @@ rustflags = [
|
|||
# Incomplete code
|
||||
"-Wclippy::dbg_macro",
|
||||
"-Wclippy::todo",
|
||||
|
||||
|
||||
# Manual debugging output.
|
||||
# Use tracing::trace!() or tracing::debug!() instead.
|
||||
"-Wclippy::print_stdout",
|
||||
|
@ -51,13 +57,13 @@ rustflags = [
|
|||
# Panics
|
||||
"-Wclippy::fallible_impl_from",
|
||||
"-Wclippy::unwrap_in_result",
|
||||
|
||||
|
||||
# Documentation
|
||||
"-Wmissing_docs",
|
||||
|
||||
# These rustdoc -A and -W settings must be the same as the RUSTDOCFLAGS in:
|
||||
# https://github.com/ZcashFoundation/zebra/blob/main/.github/workflows/lint.yml#L152
|
||||
|
||||
|
||||
# Links in public docs can point to private items.
|
||||
"-Arustdoc::private_intra_doc_links",
|
||||
|
||||
|
|
|
@ -19,11 +19,14 @@ on:
|
|||
# production code and test code
|
||||
- '**/*.rs'
|
||||
# hard-coded checkpoints
|
||||
# TODO: skip proptest regressions
|
||||
# TODO: skip proptest regressions?
|
||||
- '**/*.txt'
|
||||
# test data snapshots
|
||||
- '**/*.snap'
|
||||
# dependencies
|
||||
- '**/Cargo.toml'
|
||||
- '**/Cargo.lock'
|
||||
- '**/deny.toml'
|
||||
# configuration files
|
||||
- '.cargo/config.toml'
|
||||
- '**/clippy.toml'
|
||||
|
@ -41,6 +44,9 @@ on:
|
|||
- '**/Cargo.toml'
|
||||
- '**/Cargo.lock'
|
||||
- '**/deny.toml'
|
||||
# configuration files
|
||||
- '.cargo/config.toml'
|
||||
- '**/clippy.toml'
|
||||
# workflow definitions
|
||||
- '.github/workflows/continous-integration-os.yml'
|
||||
|
||||
|
|
|
@ -35,6 +35,8 @@ on:
|
|||
- '**/*.snap'
|
||||
- '**/Cargo.toml'
|
||||
- '**/Cargo.lock'
|
||||
- '.cargo/config.toml'
|
||||
- '**/clippy.toml'
|
||||
- 'codecov.yml'
|
||||
- '.github/workflows/coverage.yml'
|
||||
|
||||
|
|
|
@ -21,6 +21,9 @@ on:
|
|||
- '**/*.rs'
|
||||
- '**/Cargo.toml'
|
||||
- '**/Cargo.lock'
|
||||
# configuration files
|
||||
- '.cargo/config.toml'
|
||||
- '**/clippy.toml'
|
||||
# workflow definitions
|
||||
- '.github/workflows/docs.yml'
|
||||
|
||||
|
|
Loading…
Reference in New Issue