Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XML to Serde #384

Open
Thomblin opened this issue Nov 26, 2023 · 6 comments
Open

XML to Serde #384

Thomblin opened this issue Nov 26, 2023 · 6 comments

Comments

@Thomblin
Copy link

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

@ritz078
Copy link
Owner

ritz078 commented Feb 17, 2024

Can it be compiled to wasm ?

@Thomblin
Copy link
Author

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

@ritz078
Copy link
Owner

ritz078 commented Feb 17, 2024

I can definitely integrate it once wasm module is available.

@Thomblin
Copy link
Author

Thomblin commented Feb 19, 2024

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
Copy link
Author

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

@ritz078
Copy link
Owner

ritz078 commented Feb 20, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants