-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Feature Request
Detailed Description
The sleep-parser crate in its current state is a bit rudimentary. It correctly parses SLEEP headers, but the resulting artifacts aren't self-evident. We should express the different resulting structures as their own structs, and define the relationships between them.
Context
This should make the header types, and relationships between them more explicit.
Possible Implementation
- create a
Bitfieldstruct - create a
Signaturesstruct - create a
Treestruct - implement
TryFrom<Header>forBitfield - implement
TryFrom<Header>forSignatures - implement
TryFrom<Header>forTree - implement
std::str::FromStrforHeader - implement
std::str::FromStrforBitfield - implement
std::str::FromStrforSignatures - implement
std::str::FromStrforTree - implement
TryFrom<Vec<u8>>forHeader - implement
TryFrom<Vec<u8>>forBitfield - implement
TryFrom<Vec<u8>>forSignatures - implement
TryFrom<Vec<u8>>forTree
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels