The docs::os module need to be defined if the fs feature is enabled since it's used here.
I genuinely have no idea if this interferes with #6166 or any of those related issues. Some tests would be nice, but I'm not sure if we want to set them up. Testing feature combinations for the sole benefit of dependent docsrs builds seems awkward. We might just prefer having these always being exported with #[allow(unused)] to avoid future regressions.
If you enable
--cfg docsrs
with thefs
feature but without thenet
feature, tokio docs doesn't docbuild.The
docs::os
module need to be defined if thefs
feature is enabled since it's used here.I genuinely have no idea if this interferes with #6166 or any of those related issues. Some tests would be nice, but I'm not sure if we want to set them up. Testing feature combinations for the sole benefit of dependent
docsrs
builds seems awkward. We might just prefer having these always being exported with#[allow(unused)]
to avoid future regressions.