in order to build firmware that's compatible with rust-embedded, crates have to be compatible with no_std
we already had some contributions adapting some crates with this purpose:
when these contributions happened, parsers was still a module of roles_logic_sv2.
recently, we made parsers_sv2 into a standalone crate.
this crate would be useful for firmware, since it would allow conversion of raw bytes into Rust-typed messages from the subprotocol crates (mining_sv2, job_declaration_sv2 and template_distribution_sv2, which are already no_std compatible)
in order to build firmware that's compatible with
rust-embedded, crates have to be compatible withno_stdwe already had some contributions adapting some crates with this purpose:
codec_sv2with optionalno_std#1346key-utils: make it no_std with astddefault feature #1398subprotocolcratesno_stdsupport #1315noise_sv2with optionalno_std#1238no_stdfor some protocol/v2 crates #1230no_stdinto an optional feature onprotocolscrates #932when these contributions happened,
parserswas still a module ofroles_logic_sv2.recently, we made
parsers_sv2into a standalone crate.this crate would be useful for firmware, since it would allow conversion of raw bytes into Rust-typed messages from the
subprotocolcrates (mining_sv2,job_declaration_sv2andtemplate_distribution_sv2, which are alreadyno_stdcompatible)