1 unstable release

0.9.0 Dec 24, 2019

#171 in Procedural macros

Download history 51736/week @ 2023-10-27 47890/week @ 2023-11-03 51557/week @ 2023-11-10 54751/week @ 2023-11-17 52938/week @ 2023-11-24 46739/week @ 2023-12-01 46940/week @ 2023-12-08 37594/week @ 2023-12-15 20958/week @ 2023-12-22 24482/week @ 2023-12-29 42416/week @ 2024-01-05 44790/week @ 2024-01-12 48115/week @ 2024-01-19 44344/week @ 2024-01-26 44282/week @ 2024-02-02 40046/week @ 2024-02-09

185,872 downloads per month
Used in 652 crates (23 directly)

MIT license

3KB

dyn-clonable

Provides a proc_macro attribute wrapper for dyn-clone.

Usage

use dyn_clonable::*;

#[clonable]
trait MyTrait: Clone {
    fn recite(&self);
}

For additional information, see dtolnay's dyn-clone.

License: MIT

Dependencies

~1.5MB
~32K SLoC