This issue is to keep track of post-1.64 Rust features that may be useful for x11rb, but we don't use because our MSRV is 1.64 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.70
- Rust 1.80
core::mem::size_of and core::mem::align_of in prelude
- Rust 1.81
- Rust 1.85
- 2024 Rust Edition
- MSRV-aware dependency version resolver
- Rust 1.88
- Unstable:
This issue is to keep track of post-1.64 Rust features that may be useful for x11rb, but we don't use because our MSRV is 1.64 or they aren't even stable yet.
The main purpose of this issue is to:
Feature list:
x11rb/src/rust_connection/stream.rs
Lines 205 to 206 in df1ff30
once_cell, which would allow to remove theonce_cellcrate dependency. Tracking Issue foronce_cellrust-lang/rust#74465Mutex::newbeing const, thusMutex<Option<...>>could be used as a once cell.cairo-rs >= 0.17core::mem::size_ofandcore::mem::align_ofin 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_refwithout any unwrapping.