Exploring `pub(api)` Visibility and Custom Allocators in Rust
A new pre-RFC proposes the `pub(api)` visibility modifier, which aims to enforce crate-internal API boundaries more strictly. This feature would allow developers to declare items that are public within a specific API context but not externally, offering more granular control over API exposure. Additionally, ongoing discussions on the use of custom allocators could lead to enhanced memory management capabilities in Rust, particularly for collections like `Vec`. These changes could provide developers with more robust tools for modular design and performance optimization in their Rust applications.