3 releases

Uses old Rust 2015

0.1.2 Nov 4, 2018
0.1.1 Nov 4, 2018
0.1.0 Nov 4, 2018

#5 in #shorthand

Download history 166/week @ 2024-03-13 285/week @ 2024-03-20 237/week @ 2024-03-27 261/week @ 2024-04-03 177/week @ 2024-04-10 213/week @ 2024-04-17 175/week @ 2024-04-24 153/week @ 2024-05-01 131/week @ 2024-05-08 246/week @ 2024-05-15 180/week @ 2024-05-22 190/week @ 2024-05-29 133/week @ 2024-06-05 122/week @ 2024-06-12 129/week @ 2024-06-19 154/week @ 2024-06-26

556 downloads per month
Used in 6 crates (3 directly)

MPL-2.0 OR MIT OR Apache-2.0

2KB

This crate implements standalone default() function that can be imported with use default::default; and then in your code you can just:

let foo = default();

instead of the usual:

let foo = Default::default();

No runtime deps