Civilloquy
  • Communities
  • Create Post
  • 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
fedilink
  • cross-posted to:
  • rust@programming.dev
  • programming@programming.dev
  • programming@beehaw.org
39
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
fedilink
  • cross-posted to:
  • rust@programming.dev
  • programming@programming.dev
  • programming@beehaw.org
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@lemmy.ca
      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: !rust@programming.dev

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

Wormhole

!performance@programming.dev

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.

  • 3 users / day
  • 46 users / week
  • 262 users / month
  • 2.39K users / 6 months
  • 1 local subscriber
  • 7.14K subscribers
  • 958 Posts
  • 3.07K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • EdTheLegendary@programming.dev
  • kahnclusions@programming.dev
  • torcherist@programming.dev
  • BE: 0.19.5
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org