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

Put import of os submodule behind 'net' feature to fix doc generation… #6360

Merged
merged 1 commit into from Feb 19, 2024

Conversation

qrnch-jan
Copy link
Contributor

… without the 'net' feature.

Fixes #6359.

Motivation

Fixes doc generation without net feature.

Solution

Put os submodule import into root module behind feature="net" gate, because of assumptions made elsewhere.

Tested on macOS.

PS. Didn't bother to update change log because it's such an edge-case.

@Darksonn Darksonn added A-tokio Area: The main tokio crate M-net Module: tokio/net labels Feb 19, 2024
Copy link
Contributor

@Darksonn Darksonn left a comment

Choose a reason for hiding this comment

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

Thank you.

@Darksonn Darksonn enabled auto-merge (squash) February 19, 2024 11:28
@Darksonn Darksonn merged commit 099ee23 into tokio-rs:master Feb 19, 2024
80 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio Area: The main tokio crate M-net Module: tokio/net
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docsrs edge case when building docs without "net" feature
2 participants