3 releases

Uses old Rust 2015

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

#8 in #internals

Download history 111/week @ 2023-12-22 86/week @ 2023-12-29 189/week @ 2024-01-05 161/week @ 2024-01-12 130/week @ 2024-01-19 133/week @ 2024-01-26 192/week @ 2024-02-02 201/week @ 2024-02-09 206/week @ 2024-02-16 303/week @ 2024-02-23 229/week @ 2024-03-01 233/week @ 2024-03-08 170/week @ 2024-03-15 285/week @ 2024-03-22 259/week @ 2024-03-29 230/week @ 2024-04-05

973 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