92
What is going on with serde?
(social.treehouse.systems)
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Credits
I saw some other crate doing something similar but using wasm, the idea is to sandbox the binary used as a proc macro. So that seems a bit better. Can't see to find it any more.
EDIT: Found it https://lib.rs/crates/watt
Fun fact: the guy who wrote
watt
is the same guy who wroteserde
.Made by the same guy
serde
is maintained by dtolnay, he is not the original author.I thought he was a genious inventing so many useful tools. Does he maintain other projects he didn't create?
Not sure, possibly. You still need to be pretty smart maintaining and extending all those tools.
Sandboxing the binary doesn't protect you. It can still insert malicious code into your application.