forked from deviceplug/btleplug
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
54 lines (46 loc) · 1.14 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
[package]
name = "btleplug"
version = "0.4.0"
authors = ["Nonpolynomial <[email protected]>"]
license = "MIT/Apache-2.0/BSD-3-Clause"
repository = "https://github.com/deviceplug/btleplug"
homepage = "https://github.com/deviceplug/btleplug"
edition = "2018"
description = """
A Cross-Platform Rust Bluetooth Low Energy (BLE) GATT
library.
"""
readme = "README.md"
keywords = ["bluetooth", "BLE", "bluez", "uwp", "corebluetooth"]
categories = ["hardware-support"]
[lib]
name = "btleplug"
path = "src/lib.rs"
# crate-type = ["staticlib"]
[dependencies]
libc = "0.2.45"
nix = "0.12.0"
bytes = "0.4"
num = "0.1.41"
log = "0.3.8"
enum_primitive = "0.1.1"
bitflags = "1.0.1"
failure = "0.1.1"
failure_derive = "0.1.1"
backtrace = "0.3.5"
async-std = { version = "1.4.0", features = ["unstable"] }
uuid = "0.8.1"
[dependencies.nom]
version = "^4.0"
features = ["verbose-errors"]
[dependencies.winrt]
version = "0.6.0"
features = ["windows-devices", "windows-storage"]
[target.'cfg(target_os = "macos")'.dependencies]
objc = "0.2"
cocoa = "0.20.0"
[target.'cfg(target_os = "ios")'.dependencies]
objc = "0.2"
cocoa = "0.20.0"
[dev-dependencies]
rand = "0.4.2"