-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
52 lines (46 loc) · 1.34 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
[package]
name = "nfc1-sys"
version = "0.3.9"
description = "Low-level Rust bindings for libnfc. For high-level safe bindings, see crate nfc1."
authors = ["Alexander Sagen <[email protected]>"]
repository = "https://github.com/alexrsagen/rs-nfc1-sys"
readme = "README.md"
license = "MIT"
edition = "2021"
links = "nfc"
[features]
vendored = ["libusb1-sys/vendored", "usb-compat-01-sys", "cmake"]
drivers = []
logging = ["vendored"]
usb_logging = ["vendored", "usb-compat-01-sys/logging"]
conffiles = ["vendored"]
envvars = ["vendored"]
driver_pcsc = ["vendored"]
driver_acr122_pcsc = ["vendored"]
driver_acr122_usb = ["vendored"]
driver_acr122s = ["vendored"]
driver_arygon = ["vendored"]
driver_pn532_uart = ["vendored"]
driver_pn53x_usb = ["vendored"]
default_drivers = [
"driver_acr122_usb",
"driver_acr122s",
"driver_arygon",
"driver_pn532_uart",
"driver_pn53x_usb",
]
default = ["vendored", "drivers", "default_drivers"]
[dependencies]
libusb1-sys = { version = "0.5", optional = true }
usb-compat-01-sys = { version = "0.2", optional = true }
[build-dependencies]
cmake = { version = "0.1", optional = true }
cc = "1.0"
bindgen = "0.65"
pkg-config = "0.3"
[target.'cfg(target_env = "msvc")'.build-dependencies]
vcpkg = "0.2"
[target.'cfg(target_os = "windows")'.build-dependencies]
find-winsdk = "0.2"
[lib]
crate-type = ["rlib", "staticlib"]