diff options
| author | Olof <[email protected]> | 2024-12-27 00:35:49 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-12-27 00:35:49 +0100 |
| commit | 0836392219f4c47c470267c7b51b51fa730784b8 (patch) | |
| tree | 449214fa6f32e7f23a8f0fb0f446abd48ebc4e44 /embassy-time-queue-utils/src/lib.rs | |
| parent | 4f4740eeb25e0db607a7f700e29efd313dd1942d (diff) | |
| parent | b71696c8f54edba664e9bfe77a1d86d09d88f52c (diff) | |
Merge branch 'embassy-rs:main' into u5_adc
Diffstat (limited to 'embassy-time-queue-utils/src/lib.rs')
| -rw-r--r-- | embassy-time-queue-utils/src/lib.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/embassy-time-queue-utils/src/lib.rs b/embassy-time-queue-utils/src/lib.rs new file mode 100644 index 000000000..a6f66913f --- /dev/null +++ b/embassy-time-queue-utils/src/lib.rs | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | #![no_std] | ||
| 2 | #![doc = include_str!("../README.md")] | ||
| 3 | #![warn(missing_docs)] | ||
| 4 | |||
| 5 | #[cfg(feature = "_generic-queue")] | ||
| 6 | pub mod queue_generic; | ||
| 7 | #[cfg(not(feature = "_generic-queue"))] | ||
| 8 | pub mod queue_integrated; | ||
| 9 | |||
| 10 | #[cfg(feature = "_generic-queue")] | ||
| 11 | pub use queue_generic::Queue; | ||
| 12 | #[cfg(not(feature = "_generic-queue"))] | ||
| 13 | pub use queue_integrated::Queue; | ||
