When compiling to Wasm (esp. in the context of blockchain), small bytecodes are less costly than fast but short-lived programs.
However, in terms of maintainability, I’m happy to foist a few extra kB of bytecode on developers to produce an idiomatic (i.e. serde-using) library.