Trending

#serde

Latest posts tagged with #serde on Bluesky

Latest Top
Trending

Posts tagged #serde

when i open #serde documentation for "deriving for a remote crate" its just a huge middle finger what does it mean

0 0 0 0
Preview
GitHub - j-g00da/serde-more: Procedural macro to add arbitrary data when serializing using serde Procedural macro to add arbitrary data when serializing using serde - j-g00da/serde-more

Just released a new crate, it lets you serialize output of methods using `serde`.

github.com/j-g00da/serd...

#serde #rust #rustlang

2 0 0 0

RE: https://masto.asonix.dog/@asonix/115487539746688367

quooting to improve hashtag visibility

serde-knower-abouters please help

#rustlang #serde #rust

0 2 0 0
Original post on masto.asonix.dog

Can anyone point me to a serde data format that uses multiple distinct string representations?

Or a serde data format that isn't self-describing?

Or a serde data format that has distinct "top level" types that are different from inner types

Unfortunately I'm implementing a data format that […]

0 2 2 1
Preview
EuroRust 2025 – October 9 & 10, Paris & online EuroRust is a 2 day conference for the European Rust community – October 9 & 10, 2025 – in Paris & online

You’ll learn how to build your own deserializer.

No macros. No extra traits. Just smart use of Serde to enable reflection-like behavior in Rust.

Learn more ➡️ eurorust.eu/talks/serde-...

#RustLang #Serde #Reflection

🧵2/3

0 0 1 0

I love how you can add your own input validation to you newtypes using serde’s deserialization trait: You implement deserialize method on your newtype, call serde’s checks first and then add your own. This means your json is completely checked when it enters your handler. #rustlang #serde #axum 🦀🥰

1 0 0 0

DON'T USE #serde !!! IT'S UNSAFE!!!!

```rs
# [derive(Serialize)]
struct User {
pub username: String,
plain_text_password: String,
}
```

an attacker can serialise the user and read their plain-text password in the JSON text, EVEN IF THE PASSWORD FIELD IS NOT `pub`!!!

3 0 2 0
Open Source Insights

If you're in King's Hall at #RustNationUK, I found the crate Adam Harvey told us not to post on the social media about!

https://deps.dev/cargo/serde

#serde #rust #rustnation

0 1 0 0

Bref, c'est la #Serde.

1 0 2 0
Video

A sneak peek into tomorrow's episode of Self-Directed Research ...
❗😇 ☢️
#serde #unsafe

1 0 0 0
Preview
String oriented serialization in Rust with Serde

New blog article, for Rust programmers only

dystroy.org/blog/string-...

Feedback welcome

#rustlang #serde

2 0 0 0
Preview
GitHub - Canop/bench-config-deserializers: A benchmark of Rust/serde deserializers on configuration ... A benchmark of Rust/serde deserializers on configuration files - GitHub - Canop/bench-config-deserializers: A benchmark of Rust/serde deserializers on configuration files

I wanted to confirm some observations regarding performances of various #rust #serde deserializers, so I wrote a benchmark:

github.com/Canop/bench-...

Somebody should probably have a look at the TOML deserializer...

0 0 0 0

this is what's up #ocaml #rust #serde people:

0 0 0 0