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 #internals

Download history 317/week @ 2024-12-02 288/week @ 2024-12-09 298/week @ 2024-12-16 98/week @ 2024-12-23 128/week @ 2024-12-30 176/week @ 2025-01-06 237/week @ 2025-01-13 222/week @ 2025-01-20 162/week @ 2025-01-27 228/week @ 2025-02-03 200/week @ 2025-02-10 190/week @ 2025-02-17 237/week @ 2025-02-24 495/week @ 2025-03-03 1237/week @ 2025-03-10 2266/week @ 2025-03-17

4,261 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