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_topshim" 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 30cxx = "*" 31lazy_static = "*" 32proc-macro2 = "*" 33num-derive = "*" 34num-traits = "*" 35tokio = { version = "*", features = ['bytes', 'fs', 'io-util', 'libc', 'macros', 'memchr', 'mio', 'net', 'num_cpus', 'rt', 'rt-multi-thread', 'sync', 'time', 'tokio-macros'] } 36tokio-stream = "*" 37 38# TODO(abps) - Decide whether we want to use bindgen 39# [build-dependencies] 40# bindgen = "0.51" 41# pkg-config = "0.3" 42 43[lib] 44path = "src/lib.rs" 45 46# Build is only necessary if using bindgen 47# build = "build.rs" 48