I'm working on a project that's meant to be compiled to webassembly. So I guess I have to mark the library as no_std. But as it currently relies on Vec, String and HashSet quite a lot this seems to be impossible as I get errors for those features.
How can I remove/replace those features without loosing the functionality in a no_std environment like webassembly. I guess I could go for &str instead of String, but what about the others?
If I remove #![cfg_attr(not(test), no_std)]
and compile the project it seems to work as a webassembly binary. Why is that, if I get errors when adding the line?