mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: remove cargo-udeps-related workflow and metadata (#6889)
This commit is contained in:
15
.github/SANITY_UNUSED_DEPS_ISSUE_TEMPLATE.md
vendored
15
.github/SANITY_UNUSED_DEPS_ISSUE_TEMPLATE.md
vendored
@ -1,15 +0,0 @@
|
||||
---
|
||||
title: "chore: some installed deps are not needed"
|
||||
labels: C-debt, A-dependencies
|
||||
---
|
||||
|
||||
Some dependencies specified in `Cargo.toml` are not needed.
|
||||
|
||||
Check the [unused dependencies sanity check]({{env.WORKFLOW_URL}}) workflow for details.
|
||||
|
||||
This issue was raised by the workflow at `.github/workflows/sanity.yml`.
|
||||
|
||||
> **Note**
|
||||
> If this is a false positive, please refer to the [`cargo-udeps` docs][cargo-udeps-docs] on how to ignore the dependencies.
|
||||
|
||||
[cargo-udeps-docs]: https://github.com/est31/cargo-udeps#ignoring-some-of-the-dependencies
|
||||
34
.github/workflows/sanity.yml
vendored
34
.github/workflows/sanity.yml
vendored
@ -1,34 +0,0 @@
|
||||
# Runs a series of sanity checks for crate consumers.
|
||||
|
||||
name: sanity
|
||||
|
||||
on:
|
||||
workflow_dispatch: {}
|
||||
# Once per day at 00:00 UTC
|
||||
schedule:
|
||||
- cron: "0 0 * * *"
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
unused-dependencies:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
network: ["ethereum", "optimism"]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@nightly
|
||||
- uses: taiki-e/install-action@cargo-udeps
|
||||
- name: Check for unused dependencies
|
||||
run: cargo udeps --lib --features "jemalloc,${{ matrix.network }}"
|
||||
- uses: JasonEtco/create-an-issue@v2
|
||||
if: ${{ failure() }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
WORKFLOW_URL:
|
||||
${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
||||
with:
|
||||
update_existing: true
|
||||
filename: .github/SANITY_UNUSED_DEPS_ISSUE_TEMPLATE.md
|
||||
@ -275,7 +275,3 @@ proptest-derive = "0.4"
|
||||
serial_test = "3"
|
||||
similar-asserts = "1.5.0"
|
||||
test-fuzz = "5"
|
||||
|
||||
[workspace.metadata.cargo-udeps.ignore]
|
||||
# ignored because this is mutually exclusive with the optimism payload builder via feature flags
|
||||
normal = ["reth-ethereum-payload-builder", "reth-node-ethereum"]
|
||||
|
||||
@ -12,12 +12,6 @@ default-run = "reth"
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[package.metadata.cargo-udeps.ignore]
|
||||
normal = [
|
||||
# Used for diagrams in docs
|
||||
"aquamarine",
|
||||
]
|
||||
|
||||
[dependencies]
|
||||
# reth
|
||||
reth-config.workspace = true
|
||||
|
||||
@ -10,12 +10,6 @@ repository.workspace = true
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[package.metadata.cargo-udeps.ignore]
|
||||
normal = [
|
||||
# Used for diagrams in docs
|
||||
"aquamarine",
|
||||
]
|
||||
|
||||
[dependencies]
|
||||
# reth
|
||||
reth-primitives.workspace = true
|
||||
|
||||
@ -11,12 +11,6 @@ description = "Ethereum network support"
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[package.metadata.cargo-udeps.ignore]
|
||||
normal = [
|
||||
# Used for diagrams in docs
|
||||
"aquamarine",
|
||||
]
|
||||
|
||||
[dependencies]
|
||||
# reth
|
||||
reth-interfaces.workspace = true
|
||||
|
||||
@ -11,12 +11,6 @@ description = "Staged syncing primitives used in reth."
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[package.metadata.cargo-udeps.ignore]
|
||||
normal = [
|
||||
# Used for diagrams in docs
|
||||
"aquamarine",
|
||||
]
|
||||
|
||||
[dependencies]
|
||||
# reth
|
||||
reth-primitives.workspace = true
|
||||
|
||||
@ -11,14 +11,6 @@ readme = "../README.md"
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[package.metadata.cargo-udeps.ignore]
|
||||
normal = [
|
||||
# Used in proc macros
|
||||
"serde",
|
||||
# Used in proc macros
|
||||
"parity-scale-codec",
|
||||
]
|
||||
|
||||
[lib]
|
||||
proc-macro = true
|
||||
|
||||
|
||||
@ -11,12 +11,6 @@ description = "Transaction pool implementation"
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[package.metadata.cargo-udeps.ignore]
|
||||
normal = [
|
||||
# Used for diagrams in docs
|
||||
"aquamarine",
|
||||
]
|
||||
|
||||
[dependencies]
|
||||
# reth
|
||||
reth-eth-wire.workspace = true
|
||||
|
||||
Reference in New Issue
Block a user