3 ms·
Try not to use thiserror but this instead: https://docs.rs/derive_more/latest/derive_more/ https://docs.rs/derive_more/latest/derive_more/ Reason: thiserror st
by stevefan1999 1y ago
Try not to use thiserror but this instead: https://docs.rs/derive_more/latest/derive_more/ https://docs.rs/derive_more/latest/derive_more/
Reason: thiserror still requires std which greatly hinder its use for no_std context
- junon 1y agoThiserror only relies on std because primarily due to the use of the std Error type which just got stabilized into core not too long ago.
- Expurple 1y agoThiserror 2.0 (released 6 months ago) supports no_std. https://github.com/dtolnay/thiserror/releases/tag/2.0.0 https://github.com/dtolnay/thiserror/releases/tag/2.0.0