sshx-core 0.2.5

A secure web-based, collaborative terminal.
Documentation
1
2
3
4
5
6
7
8
9
10
use std::{env, path::PathBuf};

fn main() -> Result<(), Box<dyn std::error::Error>> {
    let descriptor_path = PathBuf::from(env::var("OUT_DIR").unwrap()).join("sshx.bin");
    tonic_build::configure()
        .file_descriptor_set_path(descriptor_path)
        .bytes(["."])
        .compile(&["proto/sshx.proto"], &["proto/"])?;
    Ok(())
}