Skip to content

Commit 337a2d1

Browse files
committed
rust: Bring in fugit library
The fugit crate implements tick-based timers, providing a `Duration` and `Instant` type that we can use for timeouts. This is an external crate, covered under the Apache-2.0 or MIT license. This will need to be vendored due to Rust policies. Signed-off-by: David Brown <[email protected]>
1 parent f67ff24 commit 337a2d1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/rust/zephyr/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ Functionality for Rust-based applications that run on Zephyr.
1212
[dependencies]
1313
zephyr-sys = { version = "0.1.0", path = "../zephyr-sys" }
1414

15+
[dependencies.fugit]
16+
version = "0.3.7"
17+
1518
# These are needed at build time.
1619
# Whether these need to be vendored is an open question. They are not
1720
# used by the core Zephyr tree, but are needed by zephyr applications.

0 commit comments

Comments
 (0)