this post was submitted on 19 Aug 2023
49 points (96.2% liked)

Rust

6128 readers
49 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

[email protected]

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 1 year ago* (last edited 1 year ago) (2 children)

I've been pinning my projects with the code in https://github.com/rust-lang/miri/pull/3032

In particular, the important part is:

# Pin a version of serde without intransparent unreproducible binary blobs.
serde = { version = "1.0, <1.0.172", features = ["derive"] }

Which both avoids the conflicts an =version pin would produce and ensures all your dependencies with ranged serde versions will use a version without the binary if possible ^.^

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (1 children)

The developer has agreed to remove the precomputed binary in v1.0.184:

https://github.com/serde-rs/serde/releases/tag/v1.0.184

[–] [email protected] 2 points 1 year ago

Awesome!

Gotta figure a way to avoid the specific versions but I'm glad they relented ^.^

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago) (1 children)

"&lt;" should be a less-than sign, but it gets delimited into HTML magic character codes for some reason but only inside a code block? >.<

[–] [email protected] 3 points 1 year ago

Yeah, I've noticed this happening elsewhere on Lemmy instances, too.