14 releases

Uses old Rust 2015

0.0.17 Jul 11, 2017
0.0.16 Jul 11, 2017
0.0.15 Jun 29, 2017
0.0.13 May 20, 2017
0.0.3 Oct 6, 2016

#4 in #unlikely

Download history 23/week @ 2024-07-22 117/week @ 2024-07-29 43/week @ 2024-08-05 28/week @ 2024-08-12 19/week @ 2024-08-19 40/week @ 2024-08-26 23/week @ 2024-09-02 15/week @ 2024-09-09 28/week @ 2024-09-16 47/week @ 2024-09-23 31/week @ 2024-09-30 2/week @ 2024-10-07 35/week @ 2024-10-14 15/week @ 2024-10-21 16/week @ 2024-10-28 24/week @ 2024-11-04

90 downloads per month
Used in 22 crates (8 directly)

MIT license

67KB
2K SLoC

[](This file is part of rust-extra. It is subject to the license terms in the COPYRIGHT file found in the top-level directory of this distribution and at https://raw.githubusercontent.com/lemonrock/rust-extra/master/COPYRIGHT. No part of rust-extra, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the COPYRIGHT file.) [](Copyright © 2016 The developers of rust-extra. See the COPYRIGHT file in the top-level directory of this distribution and at https://raw.githubusercontent.com/lemonrock/rust-extra/master/COPYRIGHT.)

rust-extra

Clippy Linting Result

rust-extra is a rust crate that provides additional features that are useful extensions to the language or standard libraries. Currently, this list includes:-

  • A wrapper around the 'likely' intrinsic, so it can be used without unsafe
  • A wrapper around the 'unlikely' intrinsic, so it can be used without unsafe
  • A macro providing something very similar to a do-while loop
  • u4, a type alias for documenting that a method uses an unsigned 4-bit integer (implemented as 8-bit, sadly)
  • u31, a type alias for documenting that a method uses an unsigned 31-bit integer (implemented as 32-bit, sadly)

Licensing

The license for this project is MIT.

Dependencies

~44KB