Open archseer opened 5 years ago
We currently rely on some parts of std, but having a no_std build would be interesting for embedded devices and WebAssembly. Note that a lot of the std stuff exists in core, so we could get far with just conditional imports.
https://github.com/serde-rs/serde/blob/bb99b31eb0a55393101f9c80cd959b3a739ad70f/serde/src/lib.rs#L141-L143
core::
alloc
no_std
sys
tokio
juliex
fuchsia's executor
We currently rely on some parts of std, but having a no_std build would be interesting for embedded devices and WebAssembly. Note that a lot of the std stuff exists in core, so we could get far with just conditional imports.
https://github.com/serde-rs/serde/blob/bb99b31eb0a55393101f9c80cd959b3a739ad70f/serde/src/lib.rs#L141-L143
core::
+alloc
versions on theno_std
feature flag.no_std
capable.sys
subfolder.tokio
runtime so we can switch tojuliex
or any otherno_std
capable executor. Look intofuchsia's executor
as an example.