Pre-RFC: `pub(api)` Visibility for Crate-Internal APIs
A new pre-RFC proposes the introduction of `pub(api)` visibility in Rust, aimed at providing static enforcement of crate-internal API boundaries. This feature suggests a more granular control over API exposure within Rust crates, allowing developers to specify which parts of their codebase are meant for internal use versus public consumption. If accepted, this change could lead to more maintainable and encapsulated crate designs, reducing accidental API exposure and improving code safety.