chore(ci): exclude examples from docs (#8953)

This commit is contained in:
Alexey Shekhirin
2024-06-19 17:47:57 +01:00
committed by GitHub
parent b5b15f03a0
commit 254647c425
27 changed files with 301 additions and 301 deletions

View File

@ -78,7 +78,7 @@ jobs:
run: mdbook build
- name: Build docs
run: cargo docs
run: cargo docs --exclude "example-*"
env:
# Keep in sync with ./ci.yml:jobs.docs
RUSTDOCFLAGS:

View File

@ -41,7 +41,7 @@ jobs:
run: |
cargo nextest run \
--locked --features "asm-keccak ${{ matrix.network }}" \
--workspace --exclude examples --exclude ef-tests \
--workspace --exclude ef-tests \
-E "kind(test)"
- if: matrix.network == 'optimism'
name: Run tests

View File

@ -39,7 +39,7 @@ jobs:
run: |
cargo nextest run \
--locked --features "asm-keccak ${{ matrix.network }}" \
--workspace --exclude examples --exclude ef-tests \
--workspace --exclude ef-tests \
--partition hash:${{ matrix.partition }}/2 \
-E "!kind(test)"

540
Cargo.lock generated
View File

@ -1145,36 +1145,6 @@ version = "1.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b"
[[package]]
name = "beacon-api-sidecar-fetcher"
version = "0.1.0"
dependencies = [
"alloy-rpc-types-beacon",
"clap",
"eyre",
"futures-util",
"reqwest",
"reth",
"reth-node-ethereum",
"serde",
"serde_json",
"thiserror",
]
[[package]]
name = "beacon-api-sse"
version = "0.0.0"
dependencies = [
"alloy-rpc-types-beacon",
"clap",
"futures-util",
"mev-share-sse",
"reth",
"reth-node-ethereum",
"tokio",
"tracing",
]
[[package]]
name = "bech32"
version = "0.9.1"
@ -1503,22 +1473,6 @@ dependencies = [
"tinyvec",
]
[[package]]
name = "bsc-p2p"
version = "0.0.0"
dependencies = [
"reth-chainspec",
"reth-discv4",
"reth-network",
"reth-network-api",
"reth-primitives",
"reth-tracing",
"secp256k1",
"serde_json",
"tokio",
"tokio-stream",
]
[[package]]
name = "bstr"
version = "0.2.17"
@ -2253,96 +2207,6 @@ dependencies = [
"syn 2.0.66",
]
[[package]]
name = "custom-dev-node"
version = "0.0.0"
dependencies = [
"eyre",
"futures-util",
"reth",
"reth-chainspec",
"reth-node-core",
"reth-node-ethereum",
"reth-primitives",
"serde_json",
"tokio",
]
[[package]]
name = "custom-engine-types"
version = "0.0.0"
dependencies = [
"eyre",
"reth",
"reth-basic-payload-builder",
"reth-chainspec",
"reth-ethereum-payload-builder",
"reth-node-api",
"reth-node-core",
"reth-node-ethereum",
"reth-payload-builder",
"reth-primitives",
"reth-rpc-types",
"reth-tracing",
"serde",
"thiserror",
"tokio",
]
[[package]]
name = "custom-evm"
version = "0.0.0"
dependencies = [
"eyre",
"reth",
"reth-chainspec",
"reth-node-api",
"reth-node-core",
"reth-node-ethereum",
"reth-primitives",
"reth-tracing",
"tokio",
]
[[package]]
name = "custom-inspector"
version = "0.0.0"
dependencies = [
"clap",
"futures-util",
"reth",
"reth-node-ethereum",
"reth-rpc-types",
]
[[package]]
name = "custom-node-components"
version = "0.0.0"
dependencies = [
"eyre",
"reth",
"reth-node-ethereum",
"reth-tracing",
"reth-transaction-pool",
]
[[package]]
name = "custom-payload-builder"
version = "0.0.0"
dependencies = [
"eyre",
"futures-util",
"reth",
"reth-basic-payload-builder",
"reth-chainspec",
"reth-ethereum-payload-builder",
"reth-node-api",
"reth-node-ethereum",
"reth-payload-builder",
"reth-primitives",
"tracing",
]
[[package]]
name = "darling"
version = "0.20.9"
@ -2417,18 +2281,6 @@ dependencies = [
"syn 1.0.109",
]
[[package]]
name = "db-access"
version = "0.0.0"
dependencies = [
"eyre",
"reth-chainspec",
"reth-db",
"reth-primitives",
"reth-provider",
"reth-rpc-types",
]
[[package]]
name = "debug-helper"
version = "0.3.13"
@ -2873,7 +2725,155 @@ dependencies = [
]
[[package]]
name = "exex-in-memory-state"
name = "example-beacon-api-sidecar-fetcher"
version = "0.1.0"
dependencies = [
"alloy-rpc-types-beacon",
"clap",
"eyre",
"futures-util",
"reqwest",
"reth",
"reth-node-ethereum",
"serde",
"serde_json",
"thiserror",
]
[[package]]
name = "example-beacon-api-sse"
version = "0.0.0"
dependencies = [
"alloy-rpc-types-beacon",
"clap",
"futures-util",
"mev-share-sse",
"reth",
"reth-node-ethereum",
"tokio",
"tracing",
]
[[package]]
name = "example-bsc-p2p"
version = "0.0.0"
dependencies = [
"reth-chainspec",
"reth-discv4",
"reth-network",
"reth-network-api",
"reth-primitives",
"reth-tracing",
"secp256k1",
"serde_json",
"tokio",
"tokio-stream",
]
[[package]]
name = "example-custom-dev-node"
version = "0.0.0"
dependencies = [
"eyre",
"futures-util",
"reth",
"reth-chainspec",
"reth-node-core",
"reth-node-ethereum",
"reth-primitives",
"serde_json",
"tokio",
]
[[package]]
name = "example-custom-engine-types"
version = "0.0.0"
dependencies = [
"eyre",
"reth",
"reth-basic-payload-builder",
"reth-chainspec",
"reth-ethereum-payload-builder",
"reth-node-api",
"reth-node-core",
"reth-node-ethereum",
"reth-payload-builder",
"reth-primitives",
"reth-rpc-types",
"reth-tracing",
"serde",
"thiserror",
"tokio",
]
[[package]]
name = "example-custom-evm"
version = "0.0.0"
dependencies = [
"eyre",
"reth",
"reth-chainspec",
"reth-node-api",
"reth-node-core",
"reth-node-ethereum",
"reth-primitives",
"reth-tracing",
"tokio",
]
[[package]]
name = "example-custom-inspector"
version = "0.0.0"
dependencies = [
"clap",
"futures-util",
"reth",
"reth-node-ethereum",
"reth-rpc-types",
]
[[package]]
name = "example-custom-node-components"
version = "0.0.0"
dependencies = [
"eyre",
"reth",
"reth-node-ethereum",
"reth-tracing",
"reth-transaction-pool",
]
[[package]]
name = "example-custom-payload-builder"
version = "0.0.0"
dependencies = [
"eyre",
"futures-util",
"reth",
"reth-basic-payload-builder",
"reth-chainspec",
"reth-ethereum-payload-builder",
"reth-node-api",
"reth-node-ethereum",
"reth-payload-builder",
"reth-primitives",
"tracing",
]
[[package]]
name = "example-db-access"
version = "0.0.0"
dependencies = [
"eyre",
"reth-chainspec",
"reth-db",
"reth-primitives",
"reth-provider",
"reth-rpc-types",
]
[[package]]
name = "example-exex-in-memory-state"
version = "0.0.0"
dependencies = [
"eyre",
@ -2888,7 +2888,7 @@ dependencies = [
]
[[package]]
name = "exex-minimal"
name = "example-exex-minimal"
version = "0.0.0"
dependencies = [
"eyre",
@ -2903,7 +2903,7 @@ dependencies = [
]
[[package]]
name = "exex-op-bridge"
name = "example-exex-op-bridge"
version = "0.0.0"
dependencies = [
"alloy-sol-types",
@ -2925,7 +2925,7 @@ dependencies = [
]
[[package]]
name = "exex-rollup"
name = "example-exex-rollup"
version = "0.0.0"
dependencies = [
"alloy-consensus",
@ -2951,6 +2951,124 @@ dependencies = [
"tokio",
]
[[package]]
name = "example-manual-p2p"
version = "0.0.0"
dependencies = [
"eyre",
"futures",
"once_cell",
"reth-chainspec",
"reth-discv4",
"reth-ecies",
"reth-eth-wire",
"reth-network",
"reth-network-peers",
"reth-primitives",
"secp256k1",
"tokio",
]
[[package]]
name = "example-network"
version = "0.0.0"
dependencies = [
"eyre",
"futures",
"reth-network",
"reth-provider",
"tokio",
]
[[package]]
name = "example-network-txpool"
version = "0.0.0"
dependencies = [
"eyre",
"reth-network",
"reth-provider",
"reth-transaction-pool",
"tokio",
]
[[package]]
name = "example-node-custom-rpc"
version = "0.0.0"
dependencies = [
"clap",
"jsonrpsee",
"reth",
"reth-node-ethereum",
"reth-transaction-pool",
"tokio",
]
[[package]]
name = "example-node-event-hooks"
version = "0.0.0"
dependencies = [
"reth",
"reth-node-ethereum",
]
[[package]]
name = "example-polygon-p2p"
version = "0.0.0"
dependencies = [
"reth-chainspec",
"reth-discv4",
"reth-network",
"reth-primitives",
"reth-provider",
"reth-tracing",
"secp256k1",
"serde_json",
"tokio",
"tokio-stream",
]
[[package]]
name = "example-rpc-db"
version = "0.0.0"
dependencies = [
"eyre",
"futures",
"jsonrpsee",
"reth",
"reth-chainspec",
"reth-db",
"reth-db-api",
"reth-node-ethereum",
"tokio",
]
[[package]]
name = "example-stateful-precompile"
version = "0.0.0"
dependencies = [
"eyre",
"parking_lot 0.12.3",
"reth",
"reth-chainspec",
"reth-node-api",
"reth-node-core",
"reth-node-ethereum",
"reth-primitives",
"reth-tracing",
"schnellru",
"tokio",
]
[[package]]
name = "example-txpool-tracing"
version = "0.0.0"
dependencies = [
"clap",
"futures-util",
"reth",
"reth-node-ethereum",
]
[[package]]
name = "eyre"
version = "0.6.12"
@ -4730,24 +4848,6 @@ dependencies = [
"libc",
]
[[package]]
name = "manual-p2p"
version = "0.0.0"
dependencies = [
"eyre",
"futures",
"once_cell",
"reth-chainspec",
"reth-discv4",
"reth-ecies",
"reth-eth-wire",
"reth-network",
"reth-network-peers",
"reth-primitives",
"secp256k1",
"tokio",
]
[[package]]
name = "match_cfg"
version = "0.1.0"
@ -5025,28 +5125,6 @@ dependencies = [
"unsigned-varint 0.7.2",
]
[[package]]
name = "network"
version = "0.0.0"
dependencies = [
"eyre",
"futures",
"reth-network",
"reth-provider",
"tokio",
]
[[package]]
name = "network-txpool"
version = "0.0.0"
dependencies = [
"eyre",
"reth-network",
"reth-provider",
"reth-transaction-pool",
"tokio",
]
[[package]]
name = "nibble_vec"
version = "0.1.0"
@ -5067,26 +5145,6 @@ dependencies = [
"libc",
]
[[package]]
name = "node-custom-rpc"
version = "0.0.0"
dependencies = [
"clap",
"jsonrpsee",
"reth",
"reth-node-ethereum",
"reth-transaction-pool",
"tokio",
]
[[package]]
name = "node-event-hooks"
version = "0.0.0"
dependencies = [
"reth",
"reth-node-ethereum",
]
[[package]]
name = "nom"
version = "7.1.3"
@ -5628,22 +5686,6 @@ version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "22686f4785f02a4fcc856d3b3bb19bf6c8160d103f7a99cc258bddd0251dc7f2"
[[package]]
name = "polygon-p2p"
version = "0.0.0"
dependencies = [
"reth-chainspec",
"reth-discv4",
"reth-network",
"reth-primitives",
"reth-provider",
"reth-tracing",
"secp256k1",
"serde_json",
"tokio",
"tokio-stream",
]
[[package]]
name = "polyval"
version = "0.5.3"
@ -8605,21 +8647,6 @@ version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "afab94fb28594581f62d981211a9a4d53cc8130bbcbbb89a0440d9b8e81a7746"
[[package]]
name = "rpc-db"
version = "0.0.0"
dependencies = [
"eyre",
"futures",
"jsonrpsee",
"reth",
"reth-chainspec",
"reth-db",
"reth-db-api",
"reth-node-ethereum",
"tokio",
]
[[package]]
name = "ruint"
version = "1.12.3"
@ -9389,23 +9416,6 @@ version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
[[package]]
name = "stateful-precompile"
version = "0.0.0"
dependencies = [
"eyre",
"parking_lot 0.12.3",
"reth",
"reth-chainspec",
"reth-node-api",
"reth-node-core",
"reth-node-ethereum",
"reth-primitives",
"reth-tracing",
"schnellru",
"tokio",
]
[[package]]
name = "static_assertions"
version = "1.1.0"
@ -10236,16 +10246,6 @@ dependencies = [
"utf-8",
]
[[package]]
name = "txpool-tracing"
version = "0.0.0"
dependencies = [
"clap",
"futures-util",
"reth",
"reth-node-ethereum",
]
[[package]]
name = "typenum"
version = "1.17.0"

View File

@ -1,5 +1,5 @@
[package]
name = "beacon-api-sidecar-fetcher"
name = "example-beacon-api-sidecar-fetcher"
version = "0.1.0"
publish = false
edition.workspace = true

View File

@ -1,5 +1,5 @@
[package]
name = "beacon-api-sse"
name = "example-beacon-api-sse"
version = "0.0.0"
publish = false
edition.workspace = true

View File

@ -1,5 +1,5 @@
[package]
name = "bsc-p2p"
name = "example-bsc-p2p"
version = "0.0.0"
publish = false
edition.workspace = true

View File

@ -1,5 +1,5 @@
[package]
name = "custom-dev-node"
name = "example-custom-dev-node"
version = "0.0.0"
publish = false
edition.workspace = true

View File

@ -1,5 +1,5 @@
[package]
name = "custom-engine-types"
name = "example-custom-engine-types"
version = "0.0.0"
publish = false
edition.workspace = true

View File

@ -1,5 +1,5 @@
[package]
name = "custom-evm"
name = "example-custom-evm"
version = "0.0.0"
publish = false
edition.workspace = true

View File

@ -1,5 +1,5 @@
[package]
name = "custom-inspector"
name = "example-custom-inspector"
version = "0.0.0"
publish = false
edition.workspace = true
@ -10,4 +10,4 @@ reth.workspace = true
reth-node-ethereum.workspace = true
reth-rpc-types.workspace = true
clap = { workspace = true, features = ["derive"] }
futures-util.workspace = true
futures-util.workspace = true

View File

@ -1,5 +1,5 @@
[package]
name = "custom-node-components"
name = "example-custom-node-components"
version = "0.0.0"
publish = false
edition.workspace = true

View File

@ -1,5 +1,5 @@
[package]
name = "custom-payload-builder"
name = "example-custom-payload-builder"
version = "0.0.0"
publish = false
edition.workspace = true
@ -17,4 +17,4 @@ reth-ethereum-payload-builder.workspace = true
tracing.workspace = true
futures-util.workspace = true
eyre.workspace = true
eyre.workspace = true

View File

@ -1,5 +1,5 @@
[package]
name = "db-access"
name = "example-db-access"
version = "0.0.0"
publish = false
edition.workspace = true

View File

@ -1,5 +1,5 @@
[package]
name = "exex-in-memory-state"
name = "example-exex-in-memory-state"
version = "0.0.0"
publish = false
edition.workspace = true

View File

@ -1,5 +1,5 @@
[package]
name = "exex-minimal"
name = "example-exex-minimal"
version = "0.0.0"
publish = false
edition.workspace = true

View File

@ -1,5 +1,5 @@
[package]
name = "exex-op-bridge"
name = "example-exex-op-bridge"
version = "0.0.0"
publish = false
edition.workspace = true

View File

@ -1,5 +1,5 @@
[package]
name = "exex-rollup"
name = "example-exex-rollup"
version = "0.0.0"
publish = false
edition.workspace = true

View File

@ -1,5 +1,5 @@
[package]
name = "manual-p2p"
name = "example-manual-p2p"
version = "0.0.0"
publish = false
edition.workspace = true

View File

@ -1,5 +1,5 @@
[package]
name = "network-txpool"
name = "example-network-txpool"
version = "0.0.0"
publish = false
edition.workspace = true

View File

@ -1,5 +1,5 @@
[package]
name = "network"
name = "example-network"
version = "0.0.0"
publish = false
edition.workspace = true
@ -10,4 +10,4 @@ reth-network.workspace = true
reth-provider = { workspace = true, features = ["test-utils"] }
futures.workspace = true
tokio.workspace = true
eyre.workspace = true
eyre.workspace = true

View File

@ -1,5 +1,5 @@
[package]
name = "node-custom-rpc"
name = "example-node-custom-rpc"
version = "0.0.0"
publish = false
edition.workspace = true

View File

@ -1,5 +1,5 @@
[package]
name = "node-event-hooks"
name = "example-node-event-hooks"
version = "0.0.0"
publish = false
edition.workspace = true

View File

@ -1,5 +1,5 @@
[package]
name = "polygon-p2p"
name = "example-polygon-p2p"
version = "0.0.0"
publish = false
edition.workspace = true
@ -17,4 +17,4 @@ serde_json.workspace = true
reth-tracing.workspace = true
tokio-stream.workspace = true
reth-provider = { workspace = true, features = ["test-utils"] }
reth-discv4 = { workspace = true, features = ["test-utils"] }
reth-discv4 = { workspace = true, features = ["test-utils"] }

View File

@ -1,5 +1,5 @@
[package]
name = "rpc-db"
name = "example-rpc-db"
version = "0.0.0"
publish = false
edition.workspace = true

View File

@ -1,5 +1,5 @@
[package]
name = "stateful-precompile"
name = "example-stateful-precompile"
version = "0.0.0"
publish = false
edition.workspace = true

View File

@ -1,5 +1,5 @@
[package]
name = "txpool-tracing"
name = "example-txpool-tracing"
version = "0.0.0"
publish = false
edition.workspace = true
@ -9,4 +9,4 @@ license.workspace = true
reth.workspace = true
reth-node-ethereum.workspace = true
clap = { workspace = true, features = ["derive"] }
futures-util.workspace = true
futures-util.workspace = true