104
you are viewing a single comment's thread
view the rest of the comments
[-] mo_ztt@lemmy.world 42 points 1 year ago* (last edited 1 year ago)

The dev's explanation, in full, is:

The precompiled implementation is the only supported way to use the macros that are published in serde_derive.

If there is implementation work needed in some build tools to accommodate it, someone should feel free to do that work (as I have done for Buck and Bazel, which are tools I use and contribute significantly to) or publish your own fork of the source code under a different name.

Separately, regarding the commentary above about security, the best path forward would be for one of the people who cares about this to invest in a Cargo or crates.io RFC around first-class precompiled macros so that there is an approach that would suit your preferences; serde_derive would adopt that when available.

Not "Here's why I'm doing this, it might seem weird but there's a good reason" or anything. Just, go fuck yourself, run my binary.

I smell a similar resolution to the xfree86 -> xorg transition, where the community unanimously abandons serde in favor of the fork.

this post was submitted on 19 Aug 2023
104 points (97.3% liked)

Programming

17314 readers
34 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS