lance-encoding-datafusion 0.21.0

Encoders and decoders for the Lance file format that rely on datafusion
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The Lance Authors

use std::io::Result;

fn main() -> Result<()> {
    println!("cargo:rerun-if-changed=protos");

    let mut prost_build = prost_build::Config::new();
    prost_build.extern_path(".lance.encodings", "::lance_encoding::format::pb");
    prost_build.protoc_arg("--experimental_allow_proto3_optional");
    prost_build.enable_type_names();
    prost_build.compile_protos(&["./protos/encodings-df.proto"], &["./protos"])?;

    Ok(())
}