From e52ea8e280d846aa1ca927fa0a1c0c0cee3bc423 Mon Sep 17 00:00:00 2001 From: DaniPopes <57450786+DaniPopes@users.noreply.github.com> Date: Mon, 17 Jun 2024 08:53:50 +0200 Subject: [PATCH] chore: add docs.rs metadata to all manifests --- crates/alloy/Cargo.toml | 12 ++++++++---- crates/consensus/Cargo.toml | 4 ++++ crates/contract/Cargo.toml | 4 ++++ crates/eip7547/Cargo.toml | 4 ++++ crates/eips/Cargo.toml | 4 ++++ crates/genesis/Cargo.toml | 4 ++++ crates/json-rpc/Cargo.toml | 4 ++++ crates/network/Cargo.toml | 4 ++++ crates/node-bindings/Cargo.toml | 4 ++++ crates/provider/Cargo.toml | 4 ++++ crates/pubsub/Cargo.toml | 4 ++++ crates/rpc-client/Cargo.toml | 4 ++++ crates/rpc-types-admin/Cargo.toml | 4 ++++ crates/rpc-types-anvil/Cargo.toml | 4 ++++ crates/rpc-types-beacon/Cargo.toml | 4 ++++ crates/rpc-types-engine/Cargo.toml | 4 ++++ crates/rpc-types-eth/Cargo.toml | 4 ++++ crates/rpc-types-trace/Cargo.toml | 4 ++++ crates/rpc-types-txpool/Cargo.toml | 4 ++++ crates/rpc-types/Cargo.toml | 4 ++++ crates/serde/Cargo.toml | 4 ++++ crates/signer-aws/Cargo.toml | 4 ++++ crates/signer-gcp/Cargo.toml | 4 ++++ crates/signer-ledger/Cargo.toml | 4 ++++ crates/signer-local/Cargo.toml | 4 ++++ crates/signer-trezor/Cargo.toml | 4 ++++ crates/signer/Cargo.toml | 4 ++++ crates/transport-http/Cargo.toml | 14 ++++++++++++-- crates/transport-ipc/Cargo.toml | 4 ++++ crates/transport-ws/Cargo.toml | 4 ++++ crates/transport/Cargo.toml | 4 ++++ 31 files changed, 136 insertions(+), 6 deletions(-) diff --git a/crates/alloy/Cargo.toml b/crates/alloy/Cargo.toml index ed5d5bec889..d2da45e5c4a 100644 --- a/crates/alloy/Cargo.toml +++ b/crates/alloy/Cargo.toml @@ -11,6 +11,10 @@ homepage.workspace = true repository.workspace = true exclude.workspace = true +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + [lints] workspace = true @@ -81,10 +85,10 @@ full = [ "kzg", "network", "provider-http", # includes `providers` - "provider-ws", # includes `providers` - "provider-ipc", # includes `providers` - "rpc-types", # includes `rpc-types-eth` - "signer-local", # includes `signers` + "provider-ws", # includes `providers` + "provider-ipc", # includes `providers` + "rpc-types", # includes `rpc-types-eth` + "signer-local", # includes `signers` ] # configuration diff --git a/crates/consensus/Cargo.toml b/crates/consensus/Cargo.toml index 1718581c611..1d333decad8 100644 --- a/crates/consensus/Cargo.toml +++ b/crates/consensus/Cargo.toml @@ -11,6 +11,10 @@ homepage.workspace = true repository.workspace = true exclude.workspace = true +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + [lints] workspace = true diff --git a/crates/contract/Cargo.toml b/crates/contract/Cargo.toml index cd2fb220e21..67610f3688a 100644 --- a/crates/contract/Cargo.toml +++ b/crates/contract/Cargo.toml @@ -11,6 +11,10 @@ homepage.workspace = true repository.workspace = true exclude.workspace = true +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + [lints] workspace = true diff --git a/crates/eip7547/Cargo.toml b/crates/eip7547/Cargo.toml index dff218645a2..3a576ec249a 100644 --- a/crates/eip7547/Cargo.toml +++ b/crates/eip7547/Cargo.toml @@ -11,6 +11,10 @@ homepage.workspace = true repository.workspace = true exclude.workspace = true +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + [lints] workspace = true diff --git a/crates/eips/Cargo.toml b/crates/eips/Cargo.toml index 16eddabc084..78a485f858f 100644 --- a/crates/eips/Cargo.toml +++ b/crates/eips/Cargo.toml @@ -11,6 +11,10 @@ homepage.workspace = true repository.workspace = true exclude.workspace = true +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + [lints] workspace = true diff --git a/crates/genesis/Cargo.toml b/crates/genesis/Cargo.toml index acc28247c29..deee555d21e 100644 --- a/crates/genesis/Cargo.toml +++ b/crates/genesis/Cargo.toml @@ -11,6 +11,10 @@ homepage.workspace = true repository.workspace = true exclude.workspace = true +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + [lints] workspace = true diff --git a/crates/json-rpc/Cargo.toml b/crates/json-rpc/Cargo.toml index 68d3718cd20..9a2deef43c8 100644 --- a/crates/json-rpc/Cargo.toml +++ b/crates/json-rpc/Cargo.toml @@ -11,6 +11,10 @@ homepage.workspace = true repository.workspace = true exclude.workspace = true +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + [lints] workspace = true diff --git a/crates/network/Cargo.toml b/crates/network/Cargo.toml index 2f26e1cac7f..c84e8f6a706 100644 --- a/crates/network/Cargo.toml +++ b/crates/network/Cargo.toml @@ -11,6 +11,10 @@ homepage.workspace = true repository.workspace = true exclude.workspace = true +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + [lints] workspace = true diff --git a/crates/node-bindings/Cargo.toml b/crates/node-bindings/Cargo.toml index 213553561ac..bb55e3ab08f 100644 --- a/crates/node-bindings/Cargo.toml +++ b/crates/node-bindings/Cargo.toml @@ -11,6 +11,10 @@ homepage.workspace = true repository.workspace = true exclude.workspace = true +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + [lints] workspace = true diff --git a/crates/provider/Cargo.toml b/crates/provider/Cargo.toml index eda0e25b326..7b9c02fe077 100644 --- a/crates/provider/Cargo.toml +++ b/crates/provider/Cargo.toml @@ -11,6 +11,10 @@ homepage.workspace = true repository.workspace = true exclude.workspace = true +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + [lints] workspace = true diff --git a/crates/pubsub/Cargo.toml b/crates/pubsub/Cargo.toml index de9bff4ae31..846ad9407d4 100644 --- a/crates/pubsub/Cargo.toml +++ b/crates/pubsub/Cargo.toml @@ -11,6 +11,10 @@ homepage.workspace = true repository.workspace = true exclude.workspace = true +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + [lints] workspace = true diff --git a/crates/rpc-client/Cargo.toml b/crates/rpc-client/Cargo.toml index 2f2dd8b8403..74f7e1c7dbf 100644 --- a/crates/rpc-client/Cargo.toml +++ b/crates/rpc-client/Cargo.toml @@ -11,6 +11,10 @@ homepage.workspace = true repository.workspace = true exclude.workspace = true +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + [lints] workspace = true diff --git a/crates/rpc-types-admin/Cargo.toml b/crates/rpc-types-admin/Cargo.toml index ffb0416d8fd..55ec70f3a47 100644 --- a/crates/rpc-types-admin/Cargo.toml +++ b/crates/rpc-types-admin/Cargo.toml @@ -11,6 +11,10 @@ homepage.workspace = true repository.workspace = true exclude.workspace = true +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + [lints] workspace = true diff --git a/crates/rpc-types-anvil/Cargo.toml b/crates/rpc-types-anvil/Cargo.toml index 999695379f3..6eabdc4b496 100644 --- a/crates/rpc-types-anvil/Cargo.toml +++ b/crates/rpc-types-anvil/Cargo.toml @@ -11,6 +11,10 @@ homepage.workspace = true repository.workspace = true exclude.workspace = true +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + [lints] workspace = true diff --git a/crates/rpc-types-beacon/Cargo.toml b/crates/rpc-types-beacon/Cargo.toml index 15a8b86fe4e..c8654aa41b6 100644 --- a/crates/rpc-types-beacon/Cargo.toml +++ b/crates/rpc-types-beacon/Cargo.toml @@ -10,6 +10,10 @@ homepage.workspace = true repository.workspace = true exclude.workspace = true +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + [lints] workspace = true diff --git a/crates/rpc-types-engine/Cargo.toml b/crates/rpc-types-engine/Cargo.toml index 8b17bdc4012..cfb46645724 100644 --- a/crates/rpc-types-engine/Cargo.toml +++ b/crates/rpc-types-engine/Cargo.toml @@ -11,6 +11,10 @@ authors.workspace = true repository.workspace = true exclude.workspace = true +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + [lints] workspace = true diff --git a/crates/rpc-types-eth/Cargo.toml b/crates/rpc-types-eth/Cargo.toml index d17348bceed..371331bb1d1 100644 --- a/crates/rpc-types-eth/Cargo.toml +++ b/crates/rpc-types-eth/Cargo.toml @@ -11,6 +11,10 @@ homepage.workspace = true repository.workspace = true exclude.workspace = true +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + [lints] workspace = true diff --git a/crates/rpc-types-trace/Cargo.toml b/crates/rpc-types-trace/Cargo.toml index e2f7b0a4e6d..528fac93bdd 100644 --- a/crates/rpc-types-trace/Cargo.toml +++ b/crates/rpc-types-trace/Cargo.toml @@ -11,6 +11,10 @@ homepage.workspace = true repository.workspace = true exclude.workspace = true +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + [lints] workspace = true diff --git a/crates/rpc-types-txpool/Cargo.toml b/crates/rpc-types-txpool/Cargo.toml index 8f0038da4ce..e9645bc9539 100644 --- a/crates/rpc-types-txpool/Cargo.toml +++ b/crates/rpc-types-txpool/Cargo.toml @@ -11,6 +11,10 @@ homepage.workspace = true repository.workspace = true exclude.workspace = true +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + [lints] workspace = true diff --git a/crates/rpc-types/Cargo.toml b/crates/rpc-types/Cargo.toml index 186fbbc7b0f..76b1fdbcd03 100644 --- a/crates/rpc-types/Cargo.toml +++ b/crates/rpc-types/Cargo.toml @@ -11,6 +11,10 @@ authors.workspace = true repository.workspace = true exclude.workspace = true +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + [lints] workspace = true diff --git a/crates/serde/Cargo.toml b/crates/serde/Cargo.toml index 07970d103c6..e99a23090b1 100644 --- a/crates/serde/Cargo.toml +++ b/crates/serde/Cargo.toml @@ -11,6 +11,10 @@ authors.workspace = true repository.workspace = true exclude.workspace = true +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + [lints] workspace = true diff --git a/crates/signer-aws/Cargo.toml b/crates/signer-aws/Cargo.toml index 3ff4748615d..05cc17112b3 100644 --- a/crates/signer-aws/Cargo.toml +++ b/crates/signer-aws/Cargo.toml @@ -11,6 +11,10 @@ homepage.workspace = true repository.workspace = true exclude.workspace = true +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + [lints] workspace = true diff --git a/crates/signer-gcp/Cargo.toml b/crates/signer-gcp/Cargo.toml index b7e08b0fa71..afa03fa123e 100644 --- a/crates/signer-gcp/Cargo.toml +++ b/crates/signer-gcp/Cargo.toml @@ -11,6 +11,10 @@ homepage.workspace = true repository.workspace = true exclude.workspace = true +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + [lints] workspace = true diff --git a/crates/signer-ledger/Cargo.toml b/crates/signer-ledger/Cargo.toml index ee716ce0551..b3c6394b068 100644 --- a/crates/signer-ledger/Cargo.toml +++ b/crates/signer-ledger/Cargo.toml @@ -11,6 +11,10 @@ homepage.workspace = true repository.workspace = true exclude.workspace = true +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + [lints] workspace = true diff --git a/crates/signer-local/Cargo.toml b/crates/signer-local/Cargo.toml index 82a919a6bd5..d5980087b01 100644 --- a/crates/signer-local/Cargo.toml +++ b/crates/signer-local/Cargo.toml @@ -11,6 +11,10 @@ homepage.workspace = true repository.workspace = true exclude.workspace = true +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + [lints] workspace = true diff --git a/crates/signer-trezor/Cargo.toml b/crates/signer-trezor/Cargo.toml index 7c67988f5bf..0cdf4fa8aee 100644 --- a/crates/signer-trezor/Cargo.toml +++ b/crates/signer-trezor/Cargo.toml @@ -11,6 +11,10 @@ homepage.workspace = true repository.workspace = true exclude.workspace = true +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + [lints] workspace = true diff --git a/crates/signer/Cargo.toml b/crates/signer/Cargo.toml index c978d47c048..2d3c6f7387b 100644 --- a/crates/signer/Cargo.toml +++ b/crates/signer/Cargo.toml @@ -11,6 +11,10 @@ homepage.workspace = true repository.workspace = true exclude.workspace = true +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + [lints] workspace = true diff --git a/crates/transport-http/Cargo.toml b/crates/transport-http/Cargo.toml index bb70c66cdf1..35f757ad3c2 100644 --- a/crates/transport-http/Cargo.toml +++ b/crates/transport-http/Cargo.toml @@ -11,6 +11,10 @@ homepage.workspace = true repository.workspace = true exclude.workspace = true +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + [lints] workspace = true @@ -32,7 +36,13 @@ hyper-util = { workspace = true, features = ["full"], optional = true } [features] default = ["reqwest", "reqwest-default-tls"] -reqwest = ["dep:reqwest", "dep:alloy-json-rpc", "dep:serde_json", "dep:tower", "dep:tracing"] +reqwest = [ + "dep:reqwest", + "dep:alloy-json-rpc", + "dep:serde_json", + "dep:tower", + "dep:tracing", +] hyper = [ "dep:hyper", "dep:hyper-util", @@ -40,7 +50,7 @@ hyper = [ "dep:alloy-json-rpc", "dep:serde_json", "dep:tower", - "dep:tracing" + "dep:tracing", ] reqwest-default-tls = ["reqwest?/default-tls"] reqwest-native-tls = ["reqwest?/native-tls"] diff --git a/crates/transport-ipc/Cargo.toml b/crates/transport-ipc/Cargo.toml index 43cf8e260a1..b583fbba108 100644 --- a/crates/transport-ipc/Cargo.toml +++ b/crates/transport-ipc/Cargo.toml @@ -11,6 +11,10 @@ homepage.workspace = true repository.workspace = true exclude.workspace = true +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + [lints] workspace = true diff --git a/crates/transport-ws/Cargo.toml b/crates/transport-ws/Cargo.toml index 059307f34ce..7cc1b3848e6 100644 --- a/crates/transport-ws/Cargo.toml +++ b/crates/transport-ws/Cargo.toml @@ -11,6 +11,10 @@ homepage.workspace = true repository.workspace = true exclude.workspace = true +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + [lints] workspace = true diff --git a/crates/transport/Cargo.toml b/crates/transport/Cargo.toml index edfd082d021..59e3c3c5c3f 100644 --- a/crates/transport/Cargo.toml +++ b/crates/transport/Cargo.toml @@ -11,6 +11,10 @@ homepage.workspace = true repository.workspace = true exclude.workspace = true +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + [lints] workspace = true