bincode-org / bincode

A binary encoder / decoder implementation in Rust.
MIT License
2.69k stars 272 forks source link

Question: Is bincode support no_std #607

Closed yaoxin1995 closed 1 year ago

yaoxin1995 commented 1 year ago

Hey, I want to use this crate in no_std. Does it already support it?

There is no doc on how to set it up in no_std env. So how can I set it up? Many thanks

@badboy @nelsonjchen @mbrubeck @antrik @jdm

adamreichold commented 1 year ago

There is also a similar codec that explicitly targets no_std: https://github.com/jamesmunns/postcard

nelsonjchen commented 1 year ago

Some of us haven't touched this project in 6 years or are involved in any meaningful capacities. Please don't spam notifications like that. Mass mentions like that blows past our notification settings and can annoy us.

VictorKoenders commented 1 year ago

Bincode 1.3.3 does not support #![no_std]

Bincode 2.0.0-rc does support #![no_std] but is not properly released yet