j2k-codec-math 0.7.2

no_std codec constants, generated fragments, and allocation-free helper algorithms for j2k
Documentation
1
2
3
4
5
6
7
8
9
10
use std::env;
use std::error::Error;
use std::io;

fn main() -> Result<(), Box<dyn Error>> {
    let manifest_dir = env::var("CARGO_MANIFEST_DIR")
        .map_err(|_| io::Error::other("Cargo did not provide CARGO_MANIFEST_DIR"))?;
    println!("cargo::metadata=manifest_dir={manifest_dir}");
    Ok(())
}