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 233/week @ 2024-07-19 250/week @ 2024-07-26 293/week @ 2024-08-02 289/week @ 2024-08-09 243/week @ 2024-08-16 215/week @ 2024-08-23 431/week @ 2024-08-30 358/week @ 2024-09-06 266/week @ 2024-09-13 299/week @ 2024-09-20 283/week @ 2024-09-27 212/week @ 2024-10-04 288/week @ 2024-10-11 267/week @ 2024-10-18 239/week @ 2024-10-25 223/week @ 2024-11-01

1,065 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