The PR to stabilize the @rustlang alloc crate just landed!
https://github.com/rust-lang/rust/pull/59675 …
-
-
Now for the flood of 'this library only needs alloc, not full std' style PRs2 replies 0 retweets 3 likes -
Oof. Yeah. A sizable fraction of my crates probably fall into this category. It's probably going to provoke some major version bumps, since not all of my crates have this: https://github.com/rust-lang/regex/blob/9687986de45378c744180cc696286aad7db83c5e/Cargo.toml#L49-L54 …
1 reply 0 retweets 1 like -
Hmm, I can't quite picture the breakage there yet
2 replies 0 retweets 0 likes -
Replying to @KodrAus @burntsushi5 and
For libs that need `alloc` like `small-vec` they could just opaquely use over `std`? For libs that optionally use `std` for collections (I've got some of these), they could just change the crate pulled in by that feature from `std` to `alloc` / deprecate and add a new one?
2 replies 0 retweets 0 likes
If your crate doesn't expose anything from std that's not in alloc, then you should be fine.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.