rawgrep 0.1.5

Grep at the speed of raw disk
Documentation
1
2
3
4
5
6
7
8
9
10
use rustc_version::{version_meta, Channel};

fn main() {
    //
    // This is here mostly for cargo-check, but also for additional feature checks
    //
    if matches!(version_meta().map(|v| v.channel), Ok(Channel::Nightly)) {
        println!("cargo:rustc-cfg=nightly");
    }
}