varfish-server-worker 0.10.2

Rust-based workers for varfish-server
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// The custom build script, needed as we use protocolbuffers.

fn main() {
    prost_build::Config::new()
        .protoc_arg("-Isrc/proto")
        // Add serde serialization and deserialization to the generated code.
        .type_attribute(".", "#[derive(serde::Serialize, serde::Deserialize)]")
        // Skip serializing `None` values.
        .type_attribute(".", "#[serde_with::skip_serializing_none]")
        // Define the protobuf files to compile.
        .compile_protos(
            &["varfish/v1/clinvar.proto", "varfish/v1/sv.proto"],
            &["src/"],
        )
        .unwrap();
}