-
Notifications
You must be signed in to change notification settings - Fork 14
/
Cargo.toml
67 lines (53 loc) · 1.29 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
[package]
name = "ev3dev-lang-rust"
version = "0.14.0"
edition = "2021"
authors = ["Lars Westermann <[email protected]>"]
description = "Rust language bindings for ev3dev"
keywords = ["ev3", "ev3dev", "lego", "mindstorms"]
categories = ["api-bindings", "embedded", "hardware-support"]
license = "MIT"
repository = "https://github.com/pixix4/ev3dev-lang-rust"
readme = "README.md"
[features]
default = ["ev3"]
screen = ["framebuffer", "image"]
override-driver-path = []
ev3 = []
brickpi = []
brickpi3 = []
[dependencies]
ev3dev-lang-rust-derive = { path = "ev3dev_lang_rust_derive", version="0.10" }
libc = "0.2"
framebuffer = { version = "0.3", optional = true }
image = { version = "0.24", optional = true }
paste = "1.0"
[workspace]
members = [
"ev3dev_lang_rust_derive"
]
[profile.release]
lto = true
strip = "debuginfo"
opt-level = "z"
[package.metadata.docs.rs]
features = ["ev3", "screen"]
rustdoc-args = ["--cfg", "docsrs"]
[[example]]
name = "buttons"
required-features = ["ev3"]
[[example]]
name = "screen"
required-features = ["screen"]
[[test]]
name = "ev3"
required-features = ["ev3"]
[[test]]
name = "brickpi"
required-features = ["brickpi"]
[[test]]
name = "brickpi3"
required-features = ["brickpi3"]
[[test]]
name = "override-driver-path"
required-features = ["override-driver-path"]