Julien Cretin

Results 108 issues of Julien Cretin

This PR is for discussion and related to #2190. As discussed there, the benefit is not obvious (except for providing more control to the user). With this PR, a user...

In generic context (where there is a type parameter `T: Serialize + Deserialize

```shell % rustc --version rustc 1.76.0-nightly (f967532a4 2023-12-08) % cargo build Compiling vb64 v0.1.2 error[E0405]: cannot find trait `Swizzle2` in this scope --> src/util.rs:78:27 | 78 | impl Swizzle2 for...

```rust #![warn(unsafe_op_in_unsafe_fn)] #[entry] fn main() -> ! { // The next line generates a warning while it shouldn't. static mut CLOCKS: MaybeUninit = MaybeUninit::new(); // ... } ``` I see...

``` % rustfmt --version rustfmt 1.7.1-nightly (fda509e 2024-06-25) ``` Content of `src/main.rs`: ```rust /* 0 1 2 3 4 5 6 7 8 9 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 */ fn main() { //...

``` % rustfmt --version rustfmt 1.7.0-nightly (8679004 2024-05-23) ``` Content of `src/lib.rs`: ```rust /* 0 1 2 3 4 5 6 7 8 9 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 */ // This line has...

a-comments
only-with-option

Am I understanding correctly that the `UsbBusAllocator` and `UsbDeviceBuilder` APIs don't support creating a device with multiple USB configurations? For example a device that would look like this: - Configuration...

I'm curious if and how the distributed slice works with provenance. Embedded Rust does similar things (defining a range of memory using a start and end symbol) and seems to...

I'm currently having an `osv-scanner.toml` file next to the `Cargo.lock` file for which I don't care about vulnerabilities: ```toml # This crate is used for benchmarks only. Those alerts can't...

enhancement

We want the following properties: - Lock files match manifest files. If a direct dependency version requirement is M.m.p, then the lock file should use M.m.p. This means that if...

needs:implementation
crate:xtask
for:security
for:usability
for:maintainability