Implement RFC 2500 Needle API (Part 1) by crlf0710 · Pull Request #76901 · rust-lang/rust (original) (raw)
We discussed this in several recent @rust-lang/libs-api meetings, including last week and this week. This has been on our agenda for a long time.
We feel that this was originally proposed with the intention of providing integration between the standard library and (for instance) regex crates. It's become clearer, since then, that people seem fine using such functionality from regex crates rather than from the standard library.
Thus, we don't feel that we should add and stabilize this substantial additional API surface area.
We would instead propose sealing this trait, making it possible to name (if you want to accept instances of it in your own method that calls a standard library method) but not to implement for any type outside the standard library.
@rfcbot close