madsmtm / objc2

Bindings to Apple's frameworks in Rust
https://docs.rs/objc2/
MIT License
363 stars 40 forks source link

Follow the Rust API Guidelines - Checklist #25

Closed madsmtm closed 1 year ago

madsmtm commented 3 years ago

Rust API Guidelines Checklist

madsmtm commented 3 years ago

Also, investigate using ToOwned.

madsmtm commented 3 years ago

I think we want to keep breaking C-SMART-PTR for Id::autorelease because that is a method name that only ever makes sense on Id

madsmtm commented 2 years ago

#![warn(missing_debug_implementations)] can be helpful here

madsmtm commented 2 years ago

We should also check all traits for whether they provide correct blanket impls (impl<T: Trait> Trait for &T, Box<T>, ...)

madsmtm commented 1 year ago

I will consider most of this guideline as not really applicable to icrate, since most of the design questions there are handled by Apple, and not us.

Naming decisions in icrate are explicitly moved to https://github.com/madsmtm/objc2/issues/284

madsmtm commented 1 year ago

I consider this basically done now, remaining parts are tracked in the linked issues