fuzzy_match 0.2.1

A crate for fuzzy finding items in sets, based on the Ruby fuzzy_find gem.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// Based on https://stackoverflow.com/a/37680212
// Automatically enables the "nightly" feature if built with Nightly - used for enabling bench tests.

extern crate rustc_version;

use rustc_version::{version_meta, Channel};

fn main() {
    if version_meta().channel == Channel::Nightly {
        println!("cargo:rustc-cfg=feature=\"nightly\"");
    }
}