-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make the crate conform to the API guidelines #125
Comments
The only public dependency is |
Both |
Done in #136:
|
Type Safety section:
|
Future Profing section:
|
Dependability section:
|
checked off up to here (excluding #136 stuff) |
Macros section:
|
Flexibility section:
|
Predictability section:
|
Naming section:
|
Interoperability section:
|
Crushing checklists like its my job - only docs to go. |
4bf330d Add an API test module (Tobin C. Harding) f1bdd17 Derive debug (Tobin C. Harding) Pull request description: Add an integration test module to prove the API surface of this crate. Done as part of #125. - Patch 1: Derive `Debug` - Patch 2: Add explicit trait bound to the `HexWriter` - Patch 3: Add the test module This was pulled out of #136 ACKs for top commit: apoelstra: ACK 4bf330d; successfully ran local tests Tree-SHA512: 27455152fe36e5875df94478b06299531f5e92f74ad8dc2c159dd292f0fafabf381521dc65636d7456c8ac2765e08a0fc6e5c406b445b27d0cab4115757c5b78
C-DEBUG and C-DEBUG-NONEMPTY were both done in #145. |
As were C-SEND-SYNC and C-GOOD-ERR |
I don't believe C-SEALED is actually resolved so I reopened the issue and unchecked it. |
Mad, thanks for looking. |
C-SEALED done in #152. |
Documentation section
Still TODO: A final once over of the whole crate, specificall C-CRATE-DOC, C-EXAMPLE, C-HIDDEN. |
729f739 Grab missing changelog from 0.1.2 release (Tobin C. Harding) 1c2ba8d Remove documentation from manifest (Tobin C. Harding) 3c51bd0 doc: Add Errors section crate wide (Tobin C. Harding) 5586feb Improve wrap_array example (Tobin C. Harding) 6e56f85 exapmles: Fix stale docs (Tobin C. Harding) 1ceb08b Add license to examples (Tobin C. Harding) Pull request description: Docs y'all. Done as part of #125. ACKs for top commit: apoelstra: ACK 729f739; successfully ran local tests Tree-SHA512: e5778b535c939989a50f00fdb96f280fc806b1b41b199c5ee5e43c49ae6cf909eb49f7756e6dbca2e82cf59237e49ecba1dcc8991c217a8a3a04136d9bdeae4f
Rust API Guidelines Checklist
as_
,to_
,into_
conventions (C-CONV)iter
,iter_mut
,into_iter
(C-ITER)Copy
,Clone
,Eq
,PartialEq
,Ord
,PartialOrd
,Hash
,Debug
,Display
,Default
From
,AsRef
,AsMut
(C-CONV-TRAITS)FromIterator
andExtend
(C-COLLECT)Serialize
,Deserialize
(C-SERDE)Send
andSync
where possible (C-SEND-SYNC)Hex
,Octal
,Binary
formatting (C-NUM-FMT)R: Read
andW: Write
by value (C-RW-VALUE)?
, nottry!
, notunwrap
(C-QUESTION-MARK)keywords, categories
Deref
andDerefMut
(C-DEREF)bool
orOption
(C-CUSTOM-TYPE)bitflags
, not enums (C-BITFLAG)(Both done in Make a start on verifying the API #136)
Debug
(C-DEBUG)Debug
representation is never empty (C-DEBUG-NONEMPTY)The text was updated successfully, but these errors were encountered: