bad

Crates.iobad
lib.rsbad
version0.1.1
sourcesrc
created_at2019-10-18 20:06:57.656352
updated_at2019-11-09 09:33:05.115267
descriptionUnlicensed bad ideas.
homepagehttps://github.com/nvzqz/bad-rs
repositoryhttps://github.com/nvzqz/bad-rs
max_upload_size
id173835
size16,500
Nikolai Vazquez (nvzqz)

documentation

https://docs.rs/bad

README

bad-rs

Crates.io Downloads Build Status rustc ^1.31.0
Become a Patron! Buy me a coffee

A collection of (bad) ideas in Rust that you may or may not want to make use of in your next big project. Courtesy of Nikolai Vazquez.

Documentation

Installation

This crate is available on crates.io and can be used by adding the following to your project's Cargo.toml:

[dependencies]
bad = "0.1.1"

and optionally add this to your crate root (main.rs or lib.rs):

extern crate bad;

Usage

This crate exposes the following functionality:

  • StalinSort:

    A single pass, no-nonsense sorting algorithm with O(n) complexity that removes elements until the value is sorted.

  • Never:

    A type alias to ! (never) that works in places ! doesn't currently in stable Rust.

License

This project is released under either:

at your choosing.

Commit count: 29

cargo fmt