Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scripts: ➕ penumbra-fee and penumbra-stake in rust docs #3932

Merged
merged 7 commits into from
Mar 4, 2024

Conversation

cratelyn
Copy link
Contributor

@cratelyn cratelyn commented Mar 4, 2024

fixes #3930.

@cratelyn cratelyn added C-bug Category: a bug A-docs Area: Documentation needs for the project labels Mar 4, 2024
@cratelyn cratelyn added this to the Sprint 1 milestone Mar 4, 2024
@cratelyn cratelyn changed the title scripts: ➕ add penumbra-fee to rust docs scripts: ➕ penumbra-fee and penumbra-stake in rust docs Mar 4, 2024
-p penumbra-measure \
-p penumbra-num \
-p penumbra-proof-params \
-p penumbra-proof-setup \
-p penumbra-proto \
-p penumbra-sct \
-p penumbra-shielded-pool \
-p penumbra-stake \
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc: @erwanor 🙂

@cratelyn
Copy link
Contributor Author

cratelyn commented Mar 4, 2024

error[E0658]: `#[doc(cfg)]` is experimental
 --> crates/core/component/fee/src/lib.rs:4:20
  |
4 | #[cfg_attr(docsrs, doc(cfg(feature = "component")))]
  |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: see issue #43781 <https://github.com/rust-lang/rust/issues/43781> for more information
  = help: add `#![feature(doc_cfg)]` to the crate attributes to enable
  = note: this compiler was built on 2024-03-03; consider upgrading it if it is out of date

i will fix this momentarily...

cratelyn added 5 commits March 4, 2024 10:59
this is implicitly added when the crate is built as part of
`cargo build --workspace`, but the crate cannot be built individually
via `cargo build -p penumbra-fee` without this feature.
this is needed when building with `cargo +nightly`.
NB: this file seems to have gotten stale, so there is additional drift
here. see `git show --word-diff`.
@cratelyn cratelyn force-pushed the kate/add-penumbra-fee-to-rust-docs branch from 279070a to 2944884 Compare March 4, 2024 16:17
@cratelyn cratelyn merged commit 66e6c7e into main Mar 4, 2024
6 checks passed
@cratelyn cratelyn deleted the kate/add-penumbra-fee-to-rust-docs branch March 4, 2024 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-docs Area: Documentation needs for the project C-bug Category: a bug
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

penumbra_fee crate is not included in Rustdocs
1 participant