Hacker GitHub

← All repos

serde-rs/serde

View on GitHub ↗ ★ 10,927 Rust

Serialization framework for Rust

41 mentions on Hacker News by 39 people: 5 stories, 36 comments · first 2015-05-02 · latest 2026-06-14

Mentions per year 41 mentions · busiest year 2023 (19)
20082026
  1. …of going through alternative packaging registries though. (1) https://crates.io/crates/watt (2) https://github.com/serde-rs/serde/commit/1afae183b06ffe47d05... (3) https://github.com/serde-rs/serde/issues/2538 (4)…
  2. …reasons, but they’re still maintained as a whole by the same people. Take serde, for example: https://github.com/serde-rs/serde This is four crates, so it shows up as 4/2000. But last week, it would have been 3/2000, because serde_core was…
  3. …install” is the only way this can happen. FWIW, there is a precedent with serde shipping a binary ( https://github.com/serde-rs/serde/releases/tag/v1.0.184 related discussion etc. which kind of shows this is not an idle concern)… mmm… oh…
  4. Not just for hardware support: https://github.com/serde-rs/serde/issues/2538
    comment by mseepgood · 2024-04-02 · in Timeline of the xz open source attack
  5. …the relevant guarantees. Examples: https://docs.rs/zerocopy/latest/zerocopy/ (came out of Fuchsia), https://github.com/serde-rs/serde/releases/tag/v1.0.0 (serde is commonly used, but has more constraints here), https://rkyv.org/rkyv.html…
    comment by raggi · 2023-11-23 · in Committing to Rust for Kernel Code
  6. ▲ 3
    Serde is no longer shipping precompiled blobs
    story by signa11 · 2023-08-29 · 0 comments
  7. ▲ 2
    Serde phases out pre-compiled blobs
    story by pr8dan · 2023-08-28 · 0 comments
  8. Note that the pre-compiled binary blob the blog post is referring to has since been removed [0]. [0]: https://github.com/serde-rs/serde/pull/2590
    comment by KolmogorovComp · 2023-08-26 · in This isn’t the way to speed up Rust compile times
  9. …to Github, so you wouldn't have problems finding them. But apparently that wasn't the case. - https://github.com/serde-rs/serde/issues/2538#issuecomment-1... https://archive.is/bHQS6#issuecomment-1684896969 -…
  10. …are comments are on the github issue that was closed and which was being discussed in this thread: https://github.com/serde-rs/serde/issues/2538 I already referenced the worst comment and it falls closer to brutally honest than actually…
  11. …wording to the above[0]. I'm not sure if it's the same person as the OP, but I suspect it is. [0]: https://github.com/serde-rs/serde/issues/2593
  12. …issues overshadowed the whole thing. Some gains and losses are elaborated here where it was added: https://github.com/serde-rs/serde/pull/2514
  13. Update: Removed in v1.0.184 ( https://github.com/serde-rs/serde/releases/tag/v1.0.184 )
  14. This provides some additional context for why the pre-built binary was added: https://github.com/serde-rs/serde/issues/2584#issue-18580752... Due to the way that the derive feature was causing the dependency chain in Cargo to be longer…
  15. See also the PR: https://github.com/serde-rs/serde/pull/2590/files
  16. ▲ 122
    Precompiled binaries removed from serde v1.0.184
    story by MallocVoidstar · 2023-08-21 · 37 comments
  17. https://github.com/serde-rs/serde/pull/2514#issuecomment-164...
  18. Not a Rust developer by trade, but from the offending pull request ( https://github.com/serde-rs/serde/pull/2514#issue-1810688422 ) it seems to offer 10x compile performance on first compile with small 3ms overhead on incremental compile.…
  19. Correction: It's benchmarked, https://github.com/serde-rs/serde/pull/2514 .
  20. …the discussion to be mostly very civilized and focused on finding solutions for those affected. https://github.com/serde-rs/serde/issues/2538 It's all the right of the author. And he's done so before. Unfortunately, I'm afraid this could…
  21. …Would it be possible for us to re-create the binary ourselves so we can actually ship it? > By https://github.com/serde-rs/serde/blob/v1.0.177/precompiled/... . Yes. When the article states that the library author only provided "potential…
  22. ▲ 98
    Serde has started shipping precompiled binaries with no way to opt out
    story by davikr · 2023-08-18 · 25 comments
  23. …from_reader might be doing internally before it returns that value. The actual answer seems to be https://github.com/serde-rs/serde/issues/1087#issuecomment-3... - no security implications if no manually implemented Deserialize impls…
    comment by tetromino_ · 2023-04-23 · in Ron: Rusty Object Notation
  24. …serde footgun, which is that skip-serializing-if corrupts your data with formats like bincode :-(. https://github.com/serde-rs/serde/issues/1732 really wish that could be fixed.
    comment by roca · 2021-10-15 · in The Serde Rust Framework
  25. …would be the solution, but while it kind-of is, that doesn't actually work out of the box: https://github.com/serde-rs/serde/issues/1852
    comment by masklinn · 2021-05-03 · in Dave Herman’s contributions to Rust
  26. …way they did, but I'd like to understand the rational behind the decision. Edit: formatting [0]: https://github.com/serde-rs/serde/blob/master/serde/src/de/m...
    comment by vbrandl · 2021-01-03 · in Rust Design Patterns as a Book
  27. …quality to the python library you linked. Maybe something like this, but for Redis dump files: https://github.com/serde-rs/serde
  28. …bases of messy macros. For examples of great macros, see serde[0], clap[1], inline-python[2] [0]: https://github.com/serde-rs/serde [1]: https://github.com/clap-rs/clap [2]: https://docs.rs/inline-python/0.5.3/inline_python/
    comment by conradludgate · 2020-07-16 · in Rust 1.45
  29. …Just as an example here's a random part of serde, the high quality serialization library in Rust: https://github.com/serde-rs/serde/blob/master/serde/src/priv... The amount of extra automatic memory management is often a good indicator of…
    comment by xiphias2 · 2020-07-11 · in Linux kernel in-tree Rust support
  30. …This is THE feature I wish other langs copy. Combined with serde: https://github.com/serde-rs/serde Is possible to cut a lot of boilerplate related to data transformation (that is the main task in my case).
  31. …have macros. Rust gives you the power here, and as a result has some tremendous serialization libs: https://github.com/serde-rs/serde Macros don't need to be as simple to use as in lisps to be useful - the rare library like serialization…
  32. …(e.g. to/from JSON). [1] https://doc.rust-lang.org/book/first-edition/procedural-macr... [2] https://github.com/serde-rs/serde
    comment by lobster_johnson · 2017-12-06 · in Why I love Go
  33. …the input buffer. But Rust has your back here. If you use zero-copy deserialization from Serde ( https://github.com/serde-rs/serde/releases/tag/v1.0.0 ) then the compiler will refuse to compile if you are using any of that data longer than…
    comment by btown · 2017-04-28 · in Rust 1.17
  34. ▲ 273
    Serde 1.0.0 for Rust released
    story by taheris · 2017-04-20 · 51 comments
  35. …options out there: - option (std): https://doc.rust-lang.org/std/option/index.html - serde: https://github.com/serde-rs/serde - docopt: https://github.com/docopt/docopt.rs Some more features: generics (traits!), immutability by default,…
  36. …the macros 1.1 versions of those crates? In particular, serde_macros should now be serde_derive: https://github.com/serde-rs/serde/releases/tag/v0.8.10
    comment by dbaupp · 2017-02-02 · in Announcing Rust 1.15
  37. Serde https://github.com/serde-rs/serde serialization with Bincode https://github.com/TyOverby/bincode
  38. …[1] creator here. I think serde can do this out of the box. Is it missing something you need? [1]: https://github.com/serde-rs/serde
    comment by erickt · 2016-07-07 · in Announcing Rust 1.10
  39. Just saying it's painful. :) For example, try using https://github.com/serde-rs/serde without nightly. Possible? Totally. A right pain compared to using nightly? That too.
    comment by shadowmint · 2015-09-10 · in Why Rust? [pdf]
  40. Serde ( https://github.com/serde-rs/serde ) is my baby, so let me know if you need any help with it. In a sense serde is a compile time reflection library. It's designed to recursively walk through a structure while calling a function on…
    comment by erickt · 2015-07-04 · in Things Rust shipped without
  41. …[2] over native OS IPC pipes (AF_UNIX sockets on Unix). [1]: https://github.com/pcwalton/gaol [2]: https://github.com/serde-rs/serde
    comment by pcwalton · 2015-05-02 · in Servo Continues Pushing Forward