RazrFalcon / resvg

An SVG rendering library.
Mozilla Public License 2.0
2.74k stars 220 forks source link

no_std support? #295

Closed nuxeh closed 4 years ago

nuxeh commented 4 years ago

I guess this crate doesn't have no_std support, since after a quick look there's no mention of this being the case.

RazrFalcon commented 4 years ago

It's not possible.

tronical commented 11 months ago

It's not possible.

I'm curious, what features of std does resvg (the library) require that aren't available in core or alloc?

RazrFalcon commented 11 months ago

HashMap and floats (you have to use libm, just like tiny-skia does) for one. You can try implementing no_std, but I'm not interested in working on it or even maintaining, if it would require a lot of changes.

no_std also limits the library design, which I'm not fond of. Like we have to forget about threads and stuff.

tronical commented 11 months ago

Thanks for the explanation.