Skip to content

nvzqz/bad-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bad-rs

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.

About

Unlicensed bad ideas

Resources

License

Unlicense, MIT licenses found

Licenses found

Unlicense
UNLICENSE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages