diff --git a/crates/core/component/fee/Cargo.toml b/crates/core/component/fee/Cargo.toml index 5b9b47a1d7..94dcdd171b 100644 --- a/crates/core/component/fee/Cargo.toml +++ b/crates/core/component/fee/Cargo.toml @@ -27,7 +27,7 @@ decaf377-rdsa = {workspace = true} metrics = {workspace = true} penumbra-asset = {workspace = true, default-features = false} penumbra-num = {workspace = true, default-features = false} -penumbra-proto = {workspace = true, default-features = false} +penumbra-proto = {workspace = true, features = ["rpc"], default-features = false} rand = {workspace = true} rand_core = {workspace = true, features = ["getrandom"]} serde = {workspace = true, features = ["derive"]} diff --git a/crates/core/component/fee/src/lib.rs b/crates/core/component/fee/src/lib.rs index fa218f32f8..cc07eac0d5 100644 --- a/crates/core/component/fee/src/lib.rs +++ b/crates/core/component/fee/src/lib.rs @@ -1,5 +1,5 @@ #![deny(clippy::unwrap_used)] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))] #[cfg_attr(docsrs, doc(cfg(feature = "component")))] #[cfg(feature = "component")] diff --git a/deployments/scripts/rust-docs b/deployments/scripts/rust-docs index d3f9a66bfc..e8d0330b9c 100755 --- a/deployments/scripts/rust-docs +++ b/deployments/scripts/rust-docs @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Rebuild Rust crate documentation set -euo pipefail @@ -18,33 +18,30 @@ export RUSTDOCFLAGS="--enable-index-page -Zunstable-options --cfg docsrs" # indexes is overwritten on each cargo doc invocation. cargo +nightly doc --no-deps \ - -p tendermint \ - -p tendermint-config \ - -p ibc-types \ - -p tower-abci \ - -p jmt \ -p ark-ff \ -p ark-serialize \ - -p poseidon377 \ - -p poseidon-paramgen \ - -p poseidon-permutation \ - -p decaf377@0.5.0 \ - -p decaf377-rdsa \ - -p decaf377-fmd \ - -p decaf377-ka \ -p cnidarium \ -p cnidarium-component \ + -p decaf377-fmd \ + -p decaf377-ka \ + -p decaf377-rdsa \ + -p decaf377@0.5.0 \ + -p ibc-types \ + -p jmt \ + -p pcli \ + -p pclientd \ + -p pd \ -p penumbra-app \ -p penumbra-asset \ - -p penumbra-custody \ -p penumbra-community-pool \ + -p penumbra-custody \ -p penumbra-dex \ -p penumbra-distributions \ + -p penumbra-fee \ -p penumbra-genesis \ -p penumbra-governance \ -p penumbra-ibc \ -p penumbra-keys \ - -p penumbra-txhash \ -p penumbra-measure \ -p penumbra-num \ -p penumbra-proof-params \ @@ -52,13 +49,18 @@ cargo +nightly doc --no-deps \ -p penumbra-proto \ -p penumbra-sct \ -p penumbra-shielded-pool \ + -p penumbra-stake \ -p penumbra-tct \ -p penumbra-transaction \ + -p penumbra-txhash \ -p penumbra-view \ -p penumbra-wallet \ - -p pd \ - -p pclientd \ - -p pcli \ + -p poseidon-paramgen \ + -p poseidon-permutation \ + -p poseidon377 \ + -p tendermint \ + -p tendermint-config \ + -p tower-abci \ >&2 echo "Copying newly built index file to version-controlled path:" cp -v target/doc/index.html docs/rustdoc/index.html diff --git a/docs/rustdoc/index.html b/docs/rustdoc/index.html index e877b8c9e1..383fa834b5 100644 --- a/docs/rustdoc/index.html +++ b/docs/rustdoc/index.html @@ -1,2 +1,2 @@ -Index of crates -

List of all crates

\ No newline at end of file +Index of crates +

List of all crates

\ No newline at end of file