Hacker News new | ask | show | jobs
by rob74 792 days ago
Looks like the ecosystem might benefit from them rather than the other way round: having a crate that fully supports XML serialization/deserialization, including all of XML's features (attributes, namespaces etc.) sounds like a win for Rust. Actually, I would have expected something like that to exist already - XML might not be the hottest data exchange format around anymore, but it's still pretty widespread...
1 comments

XML support is noticably sparse. Yaserde is there but support for schema to rust generation is lacking and what is there isn't in crates.io and the repos abandoned. It is quite possible I'm missing some Wonderful crate, but I haven't found it with concerted effort. But I'm not the person who needs it enough to finish the job. It may simply be that person doesn't exist. Migration to json schemas is pretty easy unless you are using the sorts of things people don't like about xml anyway.