cobalt.rs
cobalt.rs copied to clipboard
What should the case for string values be?
trafficstars
We have
- Asc / Desc
- Year, Month, Day
- Tags, Categories, Dates
Should this be changed to lowercase?
FYI @Geobert
At the beginning, I've put lowercase strings for these and using serde rename but you weren't sure about it. I'm all for lowercase string for the values, or maybe case insensitive so it will not break?
EDIT: can't find anything obvious on making serde accepting lower and upper case
Just found this https://docs.rs/serde-aux/0.6.1/serde_aux/container_attributes/index.html