Lemmy.ca
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
ruffsl@programming.dev to Rust@programming.devEnglish · 2 years ago

Rust devs push back as Serde project ships precompiled binaries

www.bleepingcomputer.com

external-link
message-square
16
link
fedilink
  • cross-posted to:
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
49
external-link

Rust devs push back as Serde project ships precompiled binaries

www.bleepingcomputer.com

ruffsl@programming.dev to Rust@programming.devEnglish · 2 years ago
message-square
16
link
fedilink
  • cross-posted to:
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]
Serde, a popular Rust (de)serialization project, has decided to ship its serde_derive macro as a precompiled binary. This has generated a fair amount of concern among some developers who highlight the future legal and technical issues this may pose, along with a potential for supply chain attacks.
  • sapient [they/them]@infosec.pub
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    2 years ago

    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 .

    • floofloof
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      2 years ago

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

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

      • sapient [they/them]@infosec.pub
        link
        fedilink
        arrow-up
        2
        ·
        2 years ago

        Awesome!

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

    • sapient [they/them]@infosec.pub
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      2 years ago

      “&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? >.<

      • Anders429@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        2 years ago

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

Rust@programming.dev

rust@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

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)
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 25 users / day
  • 162 users / week
  • 431 users / month
  • 2.86K users / 6 months
  • 95 local subscribers
  • 6.94K subscribers
  • 1.01K Posts
  • 4.74K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • EdTheLegendary@programming.dev
  • kahnclusions@programming.dev
  • torcherist@programming.dev
  • UI: 0.19.11
  • BE: 0.19.11-n.1
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org