-
Notifications
You must be signed in to change notification settings - Fork 21
/
Cargo.toml
47 lines (40 loc) · 1.18 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
[package]
name = "industrial-io"
version = "0.6.0"
edition = "2021"
rust-version = "1.73.0"
authors = ["Frank Pagliughi <[email protected]>"]
repository = "https://github.com/fpagliughi/rust-industrial-io"
license = "MIT"
readme = "README.md"
keywords = ["linux", "embedded", "analog", "iio"]
categories = ["embedded", "hardware-support", "os", "os::unix-apis"]
description = """
Linux Industrial I/O (IIO) Support
"""
[features]
default = ["utilities", "libiio_v0_25"]
utilities = ["clap"]
libiio_v0_25 = ["libiio-sys/libiio_v0_25"]
libiio_v0_24 = ["libiio-sys/libiio_v0_24"]
libiio_v0_23 = ["libiio-sys/libiio_v0_23"]
libiio_v0_21 = ["libiio-sys/libiio_v0_21"]
libiio_v0_19 = ["libiio-sys/libiio_v0_19"]
[dependencies]
libiio-sys = { version = "0.4", path = "libiio-sys", default-features = false }
thiserror = "1.0"
nix = "0.29"
clap = { version = "3.2", features = ["cargo"], optional = true }
[dev-dependencies]
schedule_recv = "0.1"
chrono = { version = "0.4" }
clap = { version = "3.2", features = ["cargo"] }
ctrlc = "3.2"
anyhow = "1.0"
# ----- Utilities -----
[[bin]]
name = "riio_info"
required-features = ["utilities"]
[[bin]]
name = "riio_stop_all"
required-features = ["utilities"]