summaryrefslogtreecommitdiff
path: root/src/lib.rs
blob: bd4e4fa0c65a3dff80f24474a8406cc71872eccc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2019 TiKV Project Authors. Licensed under Apache-2.0.

#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![allow(non_upper_case_globals)]
#[allow(clippy::all)]
mod bindings {
    //include!(env!("BINDING_PATH"));
    // ANDROID's build system doesn't support environment variables
    // so we hardcode the output location of the bindings here.
    include!(concat!(env!("OUT_DIR"), "/grpc-bindings.rs"));
}
mod grpc_wrap;

pub use bindings::*;
pub use grpc_wrap::*;