-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathCargo.toml
51 lines (39 loc) · 1.23 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
# See https://doc.rust-lang.org/cargo/reference/manifest.html for full list
[package]
name = "libftdi1-sys"
version = "1.1.3"
authors = ["Denis Lisov <dennis.lissov@gmail.com>"]
edition = "2018"
description = "FFI bindings for libftdi1"
documentation = "https://docs.rs/libftdi1-sys/"
readme = "README.md"
homepage = "https://github.com/tanriol/libftdi1-sys"
repository = "https://github.com/tanriol/libftdi1-sys"
license = "MIT"
keywords = ["bindings", "hardware", "ftdi", "libftdi1"]
categories = ["external-ffi-bindings", "hardware-support"]
links = "ftdi1"
exclude = [".github"]
build = "build.rs"
[features]
default = []
vendored = ["libftdi1-source-lgpl", "cc"]
[dependencies]
cfg-if = "1.0"
libc = "0.2"
libftdi1-source-lgpl = { version = "=1.5.0", path = "libftdi1-source-lgpl", optional = true }
[dependencies.libusb1-sys]
version = ">=0.3.7, <0.7"
optional = true
[build-dependencies]
cfg-if = "1.0"
cc = { version = "1.0.52", optional = true }
[target.'cfg(not(all(windows, target_env="msvc")))'.build-dependencies]
pkg-config = "0.3.7"
[target.'cfg(all(windows, target_env="msvc"))'.build-dependencies]
vcpkg = "0.2"
[build-dependencies.bindgen]
version = "0.65.1"
optional = true
[workspace]
members = [".", "libftdi1-source-lgpl"]