You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is to keep track of post-1.56 Rust features that may be useful for x11rb, but we don't use because our MSRV is 1.56 or they aren't even stable yet.
The main purpose of this issue is to:
Determine if it is worth to increase our MSRV
If we do it, make sure we don't miss any improvement listed here
Feature list:
Rust 1.63:
Mutex::new is const, possibly allowing us to drop the (optional) dependency on once_cell. (Replacement would be a static LIBXCB_LIBRARY: Mutex<Optional<Result<...>>> = Mutex::new(None);)
Is this actually possible? OnceCell allows us to get a &'static out, but a Mutex would not allow this. And we need this so that calls to e.g. xcb_wait_for_event() do not keep the mutex locked.
This issue is to keep track of post-1.56 Rust features that may be useful for x11rb, but we don't use because our MSRV is 1.56 or they aren't even stable yet.
The main purpose of this issue is to:
Feature list:
Mutex::new
is const, possibly allowing us to drop the (optional) dependency ononce_cell
. (Replacement would be astatic LIBXCB_LIBRARY: Mutex<Optional<Result<...>>> = Mutex::new(None);
)OnceCell
allows us to get a&'static
out, but aMutex
would not allow this. And we need this so that calls to e.g.xcb_wait_for_event()
do not keep the mutex locked.raw-window-handle
which (at the time of writing) has a msrv of 1.64, see Add raw-window-handle feature #772 and Revert adding raw-window-handle #799gethostname >= 0.3
criterion >= 0.5
x11rb/src/rust_connection/stream.rs
Lines 205 to 206 in df1ff30
once_cell
, which would allow to remove theonce_cell
crate dependency. Tracking Issue foronce_cell
rust-lang/rust#74465Mutex::new
being const, thusMutex<Option<...>>
could be used as a once cell.cairo-rs >= 0.17
core::mem::size_of
andcore::mem::align_of
in preludeIoSlice::advance
, which would be useful in Use &mut [IoSlice] for request sending #427unix_socket_ancillary_data
, which allows FD passing. Currently we implement this using the nix crate. Tracking Issue for feature(unix_socket_ancillary_data) rust-lang/rust#76915<T>::split_array_ref
(Tracking Issue for split_array rust-lang/rust#90091) would allow to implementparse_u8_array_ref
without any unwrapping.The text was updated successfully, but these errors were encountered: