3 releases

Uses old Rust 2015

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

#6 in #shorthand

Download history 204/week @ 2024-11-15 185/week @ 2024-11-22 261/week @ 2024-11-29 322/week @ 2024-12-06 304/week @ 2024-12-13 147/week @ 2024-12-20 108/week @ 2024-12-27 143/week @ 2025-01-03 253/week @ 2025-01-10 181/week @ 2025-01-17 213/week @ 2025-01-24 202/week @ 2025-01-31 207/week @ 2025-02-07 176/week @ 2025-02-14 223/week @ 2025-02-21 233/week @ 2025-02-28

877 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