// Copyright (c) Zefchain Labs, Inc. // SPDX-License-Identifier: Apache-2.0 fn main() -> Result<(), Box> { cfg_aliases::cfg_aliases! { with_rocksdb: { all(feature = "rocksdb") }, with_testing: { any(test, feature = "test") }, with_metrics: { all(not(target_arch = "wasm32"), feature = "metrics") }, }; let no_includes: &[&str] = &[]; tonic_build::configure() .protoc_arg("--experimental_allow_proto3_optional") .compile_protos(&["proto/key_value_store.proto"], no_includes)?; Ok(()) }