-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathCargo.toml
48 lines (40 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
41
42
43
44
45
46
47
48
[package]
name = "a121-rs"
description = "Rust driver for the Acconeer A121 radar sensor"
authors = ["Ragarnoy <[email protected]>"]
keywords = ["embedded", "a121", "radar"]
repository = "https://github.com/Ragarnoy/a121-rs"
documentation = "https://docs.rs/a121-rs"
categories = ["embedded", "no-std"]
readme = "README.md"
license = "MIT"
edition = "2021"
version = "0.1.4"
rust-version = "1.82"
[dependencies]
a121-sys = { version = "0.5.0", features = ["distance", "presence"] }
defmt = { version = "0.3", optional = true }
embedded-hal = "1.0.0"
embedded-hal-async = "1.0.0"
embassy-sync = { version = "0.6.0", features = [ "defmt" ] }
num = { version = "0.4", default-features = false }
libm = { version = "0.2.8", default-features = false, optional = true }
state-shift = { git = "https://github.com/ozgunozerk/state-shift", branch = "main" }
[build-dependencies]
bindgen = "0.70"
cc = "1.0"
[features]
distance = ["a121-sys/distance"]
presence = ["a121-sys/presence"]
libm = ["dep:libm", "num/libm"]
nightly-logger = ["defmt"]
std = []
defmt = ["dep:defmt"]
[profile.dev]
lto = true
codegen-units = 1
[profile.release]
debug = 2
codegen-units = 1
lto = true
opt-level = "s"