-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
76 lines (70 loc) · 2.37 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[workspace.package]
authors = ["Maxim Khitrov <[email protected]>"]
edition = "2021"
rust-version = "1.65"
repository = "https://github.com/BlackrockNeurotech/burble"
license = "MPL-2.0"
keywords = ["ble", "bluetooth", "bluez", "gatt", "l2cap"]
categories = ["api-bindings", "embedded", "hardware-support", "network-programming", "os"]
[workspace.metadata.release]
allow-branch = ["main", "!HEAD"]
pre-release-commit-message = "Release v{{version}}"
shared-version = true
tag-message = ""
tag-prefix = ""
[package]
name = "burble"
version = "0.2.2"
description = "A cross-platform user-mode Bluetooth LE library"
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
repository.workspace = true
license.workspace = true
keywords.workspace = true
categories.workspace = true
[features]
default = ["fs", "hid", "usb"]
fs = ["dep:dirs", "dep:serde_json"]
hid = ["dep:burble-hid"]
usb = ["dep:rusb"]
[workspace.dependencies]
bitflags = { version = "2.3.1", features = ["serde"] }
enum-iterator = "1.4.0"
num_enum = "0.5.11"
paste = "1.0.12"
serde = { version = "1.0.158", features = ["derive"] }
structbuf = { version = "0.3.4" }
tracing = "0.1.37"
[dependencies]
bitflags.workspace = true
blake3 = "1.3.3"
burble-const = { path = "const", version = "0.2.2" }
burble-crypto = { path = "crypto", version = "0.2.2" }
burble-hid = { path = "hid", version = "0.2.2", optional = true }
dirs = { version = "5.0.0", optional = true }
enum-iterator.workspace = true
futures-core = "0.3.27"
lazy_static = "1.4.0"
num_enum.workspace = true
once_cell = { version = "1.17.1", features = ["parking_lot"] }
parking_lot = { version = "0.12.1", features = ["arc_lock", "hardware-lock-elision", "send_guard"] }
paste.workspace = true
pin-project = "1.0.12"
rusb = { version = "0.9.2", optional = true }
serde.workspace = true
serde_json = { version = "1.0.95", optional = true }
smallvec = { version = "1.10.0", features = ["const_generics", "const_new", "union"] }
structbuf.workspace = true
thiserror = "1.0.40"
tokio = { version = "1.26.0", features = ["macros", "parking_lot", "rt", "sync", "time"] }
tokio-util = "0.7.7"
tracing.workspace = true
[dev-dependencies]
anyhow = "1.0.70"
clap = { version = "4.1.13", features = ["derive"] }
matches = "0.1.10"
sscanf = "0.4.0"
tempfile = "3.4.0"
tokio = { version = "1.26.0", features = ["io-std", "io-util", "signal"] }
tracing-subscriber = "0.3.16"