-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathCargo.toml
42 lines (34 loc) · 920 Bytes
/
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
# Copyright (c) 2024 Linaro LTD
# SPDX-License-Identifier: Apache-2.0
[package]
# This must be rustapp for now.
name = "rustapp"
version = "0.1.0"
edition = "2021"
description = "A sample hello world application in Rust"
license = "Apache-2.0 or MIT"
[lib]
crate-type = ["staticlib"]
[dependencies]
zephyr = { version = "0.1.0", features = ["time-driver", "executor-zephyr"] }
critical-section = "1.1.2"
heapless = "0.8"
static_cell = "2.1"
embassy-executor = { version = "0.7.0", features = ["log", "task-arena-size-2048"] }
embassy-sync = "0.6.2"
embassy-futures = "0.1.1"
# Hard code the tick rate.
embassy-time = { version = "0.4.0", features = ["tick-hz-10_000"] }
# Dependencies that are used by build.rs.
[build-dependencies]
zephyr-build = "0.1.0"
[profile.release]
debug-assertions = true
overflow-checks = true
debug = true
opt-level = "z"
lto = true
[profile.dev]
debug = 2
lto = true
opt-level = "z"