-
-
Notifications
You must be signed in to change notification settings - Fork 406
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
Usages of #[doc(hidden)] pub
#2097
Comments
Thanks for doing this analysis!
Agreed.
I'd be okay with making this part of the public API.
Same here.
Makes sense to make this public, not very motivated to make the other stuff public unless there's more of a motivation.
Maybe we can derive
Works for me.
Suggest #2099.
Sounds good to me. |
Congras, we done it |
I found 13 places in this repo that use
#[doc(hidden)]
on pub types for various reasons. In my opinion, there is usually a better way to do something than that, and from what I'm seeing, most of these occurrences seem to date back to the 2018-2019 era of the project.The way I see it:
#[cfg(test)]
.RUSTFLAGS='--cfg hyper_unstable_xyz'
thing.I found these usages of
#[doc(hidden)]
:quinn::send_stream::SendStream::poll_stopped
quinn::connection::Connection::force_key_update
quinn_proto::connection::Connection::initiate_key_update
force_key_update
function, which is the previous item on this listforce_key_update
part of public API, make this part of public API. If gateforce_key_update
behind "interop-container" feature, make this#[cfg(any(test, feature = "interop-container"))]
quinn_proto::config::EndpointConfig::get_max_udp_payload_size
quinn_proto::connection::streams::ClosedStream::new
quinn_proto::fuzzing
#[cfg(fuzzing)]
#[doc(hidden)]
? I don't think it'll appear behind docs if it's gated behind fuzzing.#[doc(hidden)]
fuzzing #2104 resolvesquinn_proto::StreamId.0
quinn_proto::EcnCodepoint
all variants (this counts for 3 of the 13)quinn_udp::EcnCodepoint
all variants (this counts for 3 of the 13)The text was updated successfully, but these errors were encountered: