neorg-dirman 0.1.1

A cross-platform implementation of Dirman in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
extern crate cbindgen;
use std::{env, path::Path};

pub fn main() {
    let crate_dir = env::var("CARGO_MANIFEST_DIR").unwrap();

    cbindgen::generate(crate_dir)
        .expect("Unable to generate bindings!")
        .write_to_file(Path::new(&env::var("OUT_DIR").unwrap()).join("bindings.h"));
}