-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
40 lines (33 loc) · 1.17 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
[package]
name = "riot-sys"
version = "0.7.14"
authors = ["Christian Amsüss <[email protected]>"]
edition = "2018"
description = "Rust FFI wrappers for the RIOT operating system"
documentation = "https://rustdoc.etonomy.org/riot_sys/"
repository = "https://github.com/RIOT-OS/rust-riot-sys/"
keywords = ["riot", "riot-os", "iot", "bindings"]
categories = ["external-ffi-bindings", "no-std"]
license = "LGPL-2.1"
links = "riot-sys"
[dependencies]
cty = "^0.2"
c2rust-asm-casts = "0.2"
# Relevant for some boards like the wemos-zero
c2rust-bitfields = { version = "0.3", features = ["no_std"] }
# optionally use RIOT-rs's riot-build
riot-build = { version = "< 0.2.0", optional = true }
riot-rs-core = { version = "< 0.2.0", optional = true }
[build-dependencies]
bindgen = "^0.64"
shlex = "^1.3"
serde_json = "1"
serde = { version = "1", features = [ "derive" ] }
regex = "1"
[features]
# When this is active, the workarounds that keep C2Rust from generating extern
# types are disabled, and the library uses the nightly compiler feature
# `extern_types`.
keep-extern-types = []
# this needs to be set to build together with RIOT-rs.
riot-rs = [ "riot-build", "riot-rs-core", "keep-extern-types" ]