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:
teor 2023-01-25 02:27:56 +10:00 committed by GitHub
parent c92f7b0150
commit dd90f79b48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 21 additions and 4 deletions

View File

@ -1,5 +1,11 @@
# Zebra cargo configuration # 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 # Flags that apply to all Zebra crates and configurations
[target.'cfg(all())'] [target.'cfg(all())']
rustflags = [ rustflags = [
@ -38,7 +44,7 @@ rustflags = [
# Incomplete code # Incomplete code
"-Wclippy::dbg_macro", "-Wclippy::dbg_macro",
"-Wclippy::todo", "-Wclippy::todo",
# Manual debugging output. # Manual debugging output.
# Use tracing::trace!() or tracing::debug!() instead. # Use tracing::trace!() or tracing::debug!() instead.
"-Wclippy::print_stdout", "-Wclippy::print_stdout",
@ -51,13 +57,13 @@ rustflags = [
# Panics # Panics
"-Wclippy::fallible_impl_from", "-Wclippy::fallible_impl_from",
"-Wclippy::unwrap_in_result", "-Wclippy::unwrap_in_result",
# Documentation # Documentation
"-Wmissing_docs", "-Wmissing_docs",
# These rustdoc -A and -W settings must be the same as the RUSTDOCFLAGS in: # 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 # https://github.com/ZcashFoundation/zebra/blob/main/.github/workflows/lint.yml#L152
# Links in public docs can point to private items. # Links in public docs can point to private items.
"-Arustdoc::private_intra_doc_links", "-Arustdoc::private_intra_doc_links",

View File

@ -19,11 +19,14 @@ on:
# production code and test code # production code and test code
- '**/*.rs' - '**/*.rs'
# hard-coded checkpoints # hard-coded checkpoints
# TODO: skip proptest regressions # TODO: skip proptest regressions?
- '**/*.txt' - '**/*.txt'
# test data snapshots
- '**/*.snap'
# dependencies # dependencies
- '**/Cargo.toml' - '**/Cargo.toml'
- '**/Cargo.lock' - '**/Cargo.lock'
- '**/deny.toml'
# configuration files # configuration files
- '.cargo/config.toml' - '.cargo/config.toml'
- '**/clippy.toml' - '**/clippy.toml'
@ -41,6 +44,9 @@ on:
- '**/Cargo.toml' - '**/Cargo.toml'
- '**/Cargo.lock' - '**/Cargo.lock'
- '**/deny.toml' - '**/deny.toml'
# configuration files
- '.cargo/config.toml'
- '**/clippy.toml'
# workflow definitions # workflow definitions
- '.github/workflows/continous-integration-os.yml' - '.github/workflows/continous-integration-os.yml'

View File

@ -35,6 +35,8 @@ on:
- '**/*.snap' - '**/*.snap'
- '**/Cargo.toml' - '**/Cargo.toml'
- '**/Cargo.lock' - '**/Cargo.lock'
- '.cargo/config.toml'
- '**/clippy.toml'
- 'codecov.yml' - 'codecov.yml'
- '.github/workflows/coverage.yml' - '.github/workflows/coverage.yml'

View File

@ -21,6 +21,9 @@ on:
- '**/*.rs' - '**/*.rs'
- '**/Cargo.toml' - '**/Cargo.toml'
- '**/Cargo.lock' - '**/Cargo.lock'
# configuration files
- '.cargo/config.toml'
- '**/clippy.toml'
# workflow definitions # workflow definitions
- '.github/workflows/docs.yml' - '.github/workflows/docs.yml'