Open madsmtm opened 3 years ago
fruity
Deref
objc2-foundation
objc2::foundation
NSObject
Object
lib.rs
README.md
docs.rs
build.rs
objc-sys
doc(cfg)
notable_traits
rustbook
rustdoc
#![warn(rustdoc::missing_doc_code_examples)]
objc
Also a few missing from the API Guide checklist:
?
try!
unwrap
Another todo: Use #![warn(clippy::undocumented_unsafe_blocks, clippy::multiple_unsafe_ops_per_block)].
#![warn(clippy::undocumented_unsafe_blocks, clippy::multiple_unsafe_ops_per_block)]
fruity
's for inspiration). Done in https://github.com/madsmtm/objc2/pull/79Deref
inobjc2-foundation
, since it conflicts with most guidelines, see the entry in the API guidelines and the (anti-pattern) entry in "Rust Design Patterns"objc2::foundation
assumes that most things areNSObject
instead of justObject
, since that is what the rest of Cocoa does anywaylib.rs
vs.README.md
(see https://github.com/rust-lang/api-guidelines/discussions/254)docs.rs
configuration -> Maybe somebuild.rs
configuration needed forobjc-sys
. Done in https://github.com/madsmtm/objc2/pull/89 and https://github.com/madsmtm/objc2/pull/160doc(cfg)
attributes to document platform-specific APIs? Done in https://github.com/madsmtm/objc2/pull/195notable_traits
, and I didn't really find that very useful.rustbook
with a helpful introduction on how to use the libraries?rustdoc
documentation and get tips from that.#![warn(rustdoc::missing_doc_code_examples)]
?objc
Also a few missing from the API Guide checklist:
?
, nottry!
, notunwrap
(C-QUESTION-MARK)