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" } 25bluetooth_rs = { path = "../stack" } 26bt_packets = { path = "../packets" } 27 28# All external dependencies. Keep all versions at build/rust/Cargo.toml 29bindgen = "0.57" 30bytes = "1.0" 31cxx = { version = "=1.0.42", features = ["c++17"] } 32env_logger = "0.8" 33futures = "0.3" 34grpcio = { version = "0.9", features = ["protobuf", "protobuf-codec", "openssl"] } 35grpcio-sys = { version = "0.9", features = ["openssl"] } 36lazy_static = "1.4" 37log = "0.4" 38nix = "0.19" 39num-derive = "0.3" 40num-traits = "0.2" 41paste = "1.0" 42proc-macro2 = "1.0.24" 43protobuf = "2.0" 44protoc-grpcio = "2.0" 45protoc-rust = "2.0" 46quote = "1.0.8" 47thiserror = "1.0" 48syn = { version = "1.0.58", features = ['default', 'full'] } 49tokio = { version = "1.0", features = ['bytes', 'fs', 'io-util', 'libc', 'macros', 'memchr', 'mio', 'net', 'num_cpus', 'rt', 'rt-multi-thread', 'sync', 'time', 'tokio-macros'] } 50tokio-stream = "0.1" 51walkdir = "2.2" 52 53[lib] 54path = "src/lib.rs" 55