1#
2#  Copyright 2021 Google, Inc.
3#
4#  Licensed under the Apache License, Version 2.0 (the "License");
5#  you may not use this file except in compliance with the License.
6#  You may obtain a copy of the License at:
7#
8#  http://www.apache.org/licenses/LICENSE-2.0
9#
10#  Unless required by applicable law or agreed to in writing, software
11#  distributed under the License is distributed on an "AS IS" BASIS,
12#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13#  See the License for the specific language governing permissions and
14#  limitations under the License.
15
16[package]
17name = "bt_shim"
18version = "0.0.1"
19edition = "2018"
20
21[dependencies]
22# BT dependencies
23bt_common = { path = "../common" }
24bt_facade_helpers = { path = "../facade/helpers" }
25bt_hal = { path = "../hal" }
26bt_hci = { path = "../hci" }
27bt_main = { path = "../main" }
28bt_packets = { path = "../packets" }
29
30# All external dependencies. Keep all versions at build/rust/Cargo.toml
31bindgen = "0.51"
32bytes = "1.0"
33cxx = { version = "1.0.42", features = ["c++17"] }
34env_logger = "0.8"
35futures = "0.3"
36grpcio = { version = "0.7", features = ["protobuf", "protobuf-codec", "openssl"] }
37grpcio-sys = { version = "*", features = ["openssl"] }
38lazy_static = "1.4"
39log = "0.4"
40nix = "0.19"
41num-derive = "0.3"
42num-traits = "0.2"
43paste = "1.0"
44proc-macro2 = "1.0.24"
45protobuf = "2.0"
46protoc-grpcio = "2.0"
47protoc-rust = "2.0"
48quote = "1.0.8"
49thiserror = "1.0"
50syn = { version = "1.0.58", features = ['default', 'full'] }
51tokio = { version = "1.0", features = ['bytes', 'fs', 'io-util', 'libc', 'macros', 'memchr', 'mio', 'net', 'num_cpus', 'rt', 'rt-multi-thread', 'sync', 'time', 'tokio-macros'] }
52tokio-stream = "0.1"
53walkdir = "2.2"
54
55[lib]
56path = "src/lib.rs"
57