querypie-cli 0.1.0

Query QueryPie databases from the terminal with webview authentication.
1
2
3
4
5
6
7
8
9
10
11
12
fn main() {
    println!("cargo:rerun-if-changed=proto/querypie.proto");
    let protoc = protoc_bin_vendored::protoc_bin_path().expect("find vendored protoc");
    std::env::set_var("PROTOC", protoc);
    prost_build::Config::new()
        .compile_protos(&["proto/querypie.proto"], &["proto"])
        .expect("compile querypie protobuf schema");
    tauri_build::try_build(
        tauri_build::Attributes::new().codegen(tauri_build::CodegenContext::new()),
    )
    .expect("build Tauri context");
}