Override visibility for all items in my crate

XY: I have a crate for some geometric work, and I want to give some of its insides a spin from another crate that can render results to an image. However, I don't want to make those insides pub. Is there some compiler option etc that will make all items (fns structs fields etc) public?

This feels a bit like the --document-private-items option for the documenter (although obviously different).

1 Like

There isn't at the moment. You will have to fork it.

1 Like

Is there any appitite from the rustc maintainers for such an option?

I highly doubt it.