a-sixel 0.5.1

A small sixel + palette selection + dithering library.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use rustc_version::{
    version_meta,
    Channel,
};

fn main() {
    println!("cargo::rustc-check-cfg=cfg(ENABLE_DOC_AUTO_CFG)");
    let enable_doc_auto_cfg = match version_meta().unwrap().channel {
        Channel::Nightly => "ENABLE_DOC_AUTO_CFG",
        _ => "DISABLE_DOC_AUTO_CFG",
    };
    println!("cargo:rustc-cfg={}", enable_doc_auto_cfg);
}