You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that crate::openssl and crate::openssl::signer are not public and that get_signer and get_signer_from_files are both functions that are verified to be accessible from outside the crate.
When I run cargo docs --open locally (using Rust stable 1.62.0 on MacOS), I see a top-level "Functions" entry and these two functions are described as I would expect.
I would expect either that the docs.rs documentation would match what I can generate locally, or some sort of error would describe the reason why that could not happen.
We're contemplating redesigning away from this API pattern in part because of this bug. See contentauth/c2pa-rs#72
The text was updated successfully, but these errors were encountered:
tl;dr: Functions exported at crate scope are silently ignored by docs.rs. This bug does not occur with current stable
cargo docs
build.Detail
For reference, see the following from version 0.7.0 of c2pa crate:
Note that
crate::openssl
andcrate::openssl::signer
are not public and thatget_signer
andget_signer_from_files
are both functions that are verified to be accessible from outside the crate.When I run
cargo docs --open
locally (using Rust stable 1.62.0 on MacOS), I see a top-level "Functions" entry and these two functions are described as I would expect.However, the generated docs for this version of this crate on docs.rs do not contain a top-level "Functions" entry and searching on either of the function names yields a "No results" screen.
I would expect either that the docs.rs documentation would match what I can generate locally, or some sort of error would describe the reason why that could not happen.
We're contemplating redesigning away from this API pattern in part because of this bug. See contentauth/c2pa-rs#72
The text was updated successfully, but these errors were encountered: