transform icon indicating copy to clipboard operation
transform copied to clipboard

XML to Serde

Open Thomblin opened this issue 2 years ago • 6 comments

I created a XML to Rust Serde converter. @brandonros suggested to include it in your transform tool. Are you able to integrate Rust or a binary as a converter?

see: https://github.com/Thomblin/xml_schema_generator

Thomblin avatar Nov 26 '23 20:11 Thomblin

Can it be compiled to wasm ?

ritz078 avatar Feb 17 '24 10:02 ritz078

Well, not yet. I never used wasm before, however I worked through the tutorial right now and it looks promising. If you would implement it, I'll give it a try and build a wasm wrapper

Thomblin avatar Feb 17 '24 20:02 Thomblin

I can definitely integrate it once wasm module is available.

ritz078 avatar Feb 17 '24 22:02 ritz078

Alright. I created a first version. Can you take a look if this is already good enough? Happy to change it, I am not familiar with wasm so far

Rust source code https://github.com/Thomblin/xml_schema_generator/tree/main/wasm

wasm integration in html page https://github.com/Thomblin/thomblin.github.io/tree/main/xml_schema_generator

view in web browser https://thomblin.github.io/xml_schema_generator/

Thomblin avatar Feb 19 '24 20:02 Thomblin

update: I managed to compile different wasm packages into the latest (and future) release: https://github.com/Thomblin/xml_schema_generator/releases

Thomblin avatar Feb 20 '24 21:02 Thomblin

Thank you. I will try to integrate this sometime this week and get back to you.

ritz078 avatar Feb 20 '24 21:02 ritz078