# 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 .
I’ve been pinning my projects with the code in https://github.com/rust-lang/miri/pull/3032
In particular, the important part is:
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 .The developer has agreed to remove the precomputed binary in v1.0.184:
https://github.com/serde-rs/serde/releases/tag/v1.0.184
Awesome!
Gotta figure a way to avoid the specific versions but I’m glad they relented .
“<” should be a less-than sign, but it gets delimited into HTML magic character codes for some reason but only inside a code block? >.<
Yeah, I’ve noticed this happening elsewhere on Lemmy instances, too.