Ensure that we are complying with Rust API Guidelines #191
Labels
No labels
breaking
bug
dependencies
good first issue
help wanted
unstable
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-uuid-rs/uuid#191
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
uuidput two~~around it to cross it out.as_,to_,into_conventions (C-CONV)Methods on collections that produce iterators followiter,iter_mut,into_iter(C-ITER)Iterator type names match the methods that produce them (C-ITER-TY)Copy,Clone,Eq,PartialEq,Ord,PartialOrd,Hash,Debug,Display,DefaultFrom,AsRef,AsMut(C-CONV-TRAITS)FromIteratorandExtend(C-COLLECT)Serialize,Deserialize(C-SERDE)SendandSyncwhere possible (C-SEND-SYNC)Hex,Octal,Binaryformatting (C-NUM-FMT)Uuidand associated adapters dont needOctalandBinaryformatting.Generic reader/writer functions takeR: ReadandW: Writeby value (C-RW-VALUE)Input syntax is evocative of the output (C-EVOCATIVE)Macros compose well with attributes (C-MACRO-ATTR)Item macros work anywhere that items are allowed (C-ANYWHERE)Item macros support visibility specifiers (C-MACRO-VIS)Type fragments are flexible (C-MACRO-TY)?, nottry!, notunwrap(C-QUESTION-MARK)readme, keywords, categories
Smart pointers do not add inherent methods (C-SMART-PTR)Operator overloads are unsurprising (C-OVERLOAD)Only smart pointers implementDerefandDerefMut(C-DEREF)boolorOption(C-CUSTOM-TYPE)Types for a set of flags arebitflags, not enums (C-BITFLAG)Destructors that may block have alternatives (C-DTOR-BLOCK)Debug(C-DEBUG)Debugrepresentation is never empty (C-DEBUG-NONEMPTY)It would be good to run through this when we're ready to release a
1.0👍@KodrAus @Dylan-DPC We should get these sorted out now...
right now 33 points out of 55 are checked.. lets make it 55
edit: make it 34