libs-team
libs-team copied to clipboard
The home of the library team
# Proposal ## Problem statement It's really nice now that `uNN::checked_sub` gives you a *safe* way to get a `uNN::unchecked_sub`. However, that's only a smooth replacement for code doing `if...
# Proposal ## Changelog * 2025-03-01: Initial draft. ## Problem statement Currently, `Context` only carries a `Waker`, but there is interest in having it carry other kinds of data. There...
# Proposal ## Problem statement I would like to be able to avoid pointer casts for unguarded accesses of the inner value of an `RwLock`, similar to `RefCell`s [`try_borrow_unguarded`](https://doc.rust-lang.org/std/cell/struct.RefCell.html#method.try_borrow_unguarded). ##...
# Proposal ## Problem statement In multi-language projects that need to perform interop with C or C++, you will often need to manipulate most of your strings using the [`core::ffi::CStr`][cstr]...
# Proposal ## Problem statement We provide `std::os::unix::fs::chroot` to provide a safe interface to `chroot`. However, we don't provide any safe way to run a child process in a chroot....
# Proposal ## Problem statement Often, I have a slice containing some amount of elements, and I'd like the split off the first `N` elements as an array and leave...
# Proposal ## Problem statement `NonZero::::from_str` is already implemented and it only supports decimal, just like `T::from_str`. In other words, there is no direct way to convert a string which...
# Proposal ## Problem statement While Rust has pretty robust Unicode support, it only offers casing data in a limited capacity, via methods like `char::is_lowercase` and `str::to_lowercase`. While the standard...
Currently, the ACP process works like this: 1. An ACP is submitted proposing some API feature 2. The ACP is reviewed in a team meeting or directly by a team...
### Problem Printing byte strings as hex is a very common thing to do. Currently we need to implement is manually or use a third-party crate like `hex`. We have...