bincode-org / bincode-core Goto Github PK
View Code? Open in Web Editor NEWno_std-compatible bincode
no_std-compatible bincode
I'm trying to publish a crate dependent on this bincode-core.
The current api works well for my purposes (both x86_64 and arm-none-eabi).
During the test write I have discovered that the VarInt is not used for primitives even if configured.
Leaving this here as a reminder for myself
Implement CoreRead
and CoreWrite
on any type implementing these traits:
https://docs.rs/embedded-hal/0.2.4/embedded_hal/spi/trait.FullDuplex.html
https://docs.rs/embedded-hal/0.2.4/embedded_hal/serial/trait.Write.html
https://docs.rs/embedded-hal/0.2.4/embedded_hal/serial/trait.Read.html
serialize_size
deserialize_enum
or document why it should error.expect
alloc
featureSome panics in the code:
impl serde::de::Error for DeserializeError
and impl serde::ser::Error for SerializeError
)T: core::fmt::Display
, we could make our own formatter and pass this to display)I am looking for no_std std::io alternative.
The index is being cast from a usize
to u64
currently. I think it would be better to just return the usize
so it can be used directly for indexing/slicing.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.