vial icon indicating copy to clipboard operation
vial copied to clipboard

Replace serde with nanoserde?

Open alexwennerberg opened this issue 3 years ago • 4 comments

How would you feel about replacing serde with the lighter-weight https://github.com/not-fl3/nanoserde for json serialization?

alexwennerberg avatar Jan 28 '22 04:01 alexwennerberg

I love this idea! Obviously serde doesn't fit with the goals of this project, but I've included support for it because it's so ubiquitous.

xvxx avatar Feb 10 '22 22:02 xvxx

I may put together a PR then! I really like vial and I use it for https://finger.flounder.online/ -- I'm thinking of using it for a more substantial project I have planned too

Another project I wanted to put on your radar is nanotemplate:

https://git.sr.ht/~jpastuszek/nanotemplate

I'm using it as a templating engine in one of my projects as an alternative to horrorshow

alexwennerberg avatar Feb 11 '22 01:02 alexwennerberg

@alexwennerberg: Got the PR? Interested in seeing such a replacement in practice...

Zireael07 avatar May 04 '22 12:05 Zireael07

@Zireael07 for nanoserde? sadly no, I've been caught up with my day job

alexwennerberg avatar May 04 '22 15:05 alexwennerberg

Added nanoserde support in 766c5af9c40b9de61edc5ff3499135bc95469a44, while also keeping Serde available if people want it.

xvxx avatar Nov 15 '22 21:11 xvxx