| # |
| # Copyright 2021 Google, Inc. |
| # |
| # Licensed under the Apache License, Version 2.0 (the "License"); |
| # you may not use this file except in compliance with the License. |
| # You may obtain a copy of the License at: |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| |
| [package] |
| name = "bt_topshim" |
| version = "0.0.1" |
| edition = "2018" |
| |
| [dependencies] |
| # BT dependencies |
| bt_common = { path = "../common" } |
| bt_facade_helpers = { path = "../facade/helpers" } |
| bt_hal = { path = "../hal" } |
| bt_hci = { path = "../hci" } |
| bt_main = { path = "../main" } |
| bt_packets = { path = "../packets" } |
| |
| cxx = "*" |
| lazy_static = "*" |
| proc-macro2 = "*" |
| num-derive = "*" |
| num-traits = "*" |
| tokio = { version = "*", features = ['bytes', 'fs', 'io-util', 'libc', 'macros', 'memchr', 'mio', 'net', 'num_cpus', 'rt', 'rt-multi-thread', 'sync', 'time', 'tokio-macros'] } |
| tokio-stream = "*" |
| |
| # TODO(abps) - Decide whether we want to use bindgen |
| # [build-dependencies] |
| # bindgen = "0.51" |
| # pkg-config = "0.3" |
| |
| [lib] |
| path = "src/lib.rs" |
| |
| # Build is only necessary if using bindgen |
| # build = "build.rs" |