#negative #impls #send-sync #derive #tired

macro deprive

Tired of negative impls? Use deprive instead of derive!

3 unstable releases

0.2.1 Jul 27, 2021
0.2.0 May 24, 2021
0.1.0 May 24, 2021

#9 in #impls

MIT/Apache

4KB

deprive

Docs

Tired:

struct X {}
impl !Send for X {}
impl !Sync for X {}

Wired:

#[deprive(Send, Sync)]
struct X {}

Dependencies

~1.5MB
~37K SLoC