aboutsummaryrefslogtreecommitdiff
path: root/embassy-sync
Commit message (Collapse)AuthorAgeFilesLines
...
| * Update to Rust 1.80, make check-cfg unconditional.Dario Nieuwenhuis2024-07-251-20/+1
| |
| * Reduced define for 'unreachable!' to a single macro ruleTarun Singh2024-07-171-10/+6
| |
| * Add collapse_debuginfo to fmt.rs macros.Dario Nieuwenhuis2024-06-171-0/+17
| | | | | | | | | | | | This makes location info in defmt logs point to the code calling the macro, instead of always to fmt.rs as before. Fix works with nightlies starting with today's, and stable 1.81+.
| * Update stable to Rust 1.79.Dario Nieuwenhuis2024-06-131-0/+4
| |
| * Merge pull request #3054 from dvdsk/clonable-errorsDario Nieuwenhuis2024-06-091-1/+1
| |\ | | | | | | | | | Add Clone and Copy to Error types
| | * Add Clone and Copy to Error typesdvdsk2024-06-061-1/+1
| | | | | | | | | | | | | | | None of them are `non-exaustative`, they are all small enough to be copy (I estimate none are larger than 4 bytes).
| * | embassy-sync: remove T: Send for Signal<M, T>Jesse Stuart2024-06-051-1/+1
| |/
| * Copy build_common.rs into each crate, to make cargo publish happyJan Špaček2024-05-312-1/+110
| |
| * Emit cargo:rustc-check-cfg instructions from build.rsJan Špaček2024-05-302-29/+5
| |
| * remove duplicate entryUlf Lilleengen2024-05-291-1/+0
| |
| * add missing entries to changelogUlf Lilleengen2024-05-291-0/+4
| |
| * Prepare for embassy-sync 0.6.0 releaseUlf Lilleengen2024-05-292-1/+3
| |
| * embassy-sync: Add clear function to all channelsOliver Rockstedt2024-05-226-3/+52
| |
| * embassy-sync: fixed some documentation typosOliver Rockstedt2024-05-223-5/+5
| |
| * embassy-sync: fixed some clippy warningsOliver Rockstedt2024-05-214-8/+8
| |
| * Add little migration sentence to changelogDion Dokter2024-05-201-0/+1
| |
| * Add to changelogDion Dokter2024-05-201-0/+1
| |
| * Expose new length functions in the subs and pubsDion Dokter2024-05-203-33/+138
| |
| * Make behaviour trait sealedDion Dokter2024-05-201-2/+9
| |
| * embassy-sync: Add capacity, free_capacity, len, is_empty and is_full ↵Oliver Rockstedt2024-05-182-0/+40
| | | | | | | | functions to PubSubChannel
| * embassy-sync: Add capacity, free_capacity, len, is_empty and is_full ↵Oliver Rockstedt2024-05-182-0/+40
| | | | | | | | functions to PriorityChannel
| * embassy-sync: Add capacity and free_capacity functions to ChannelOliver Rockstedt2024-05-182-1/+13
| |
| * Fix: typoQWS2024-05-101-1/+1
| |
| * embassy_sync::Mutex: Implement traits to match stdW Etheredge2024-05-051-1/+77
| |
| * Adding ready_to_receive to Channel and Receivernerwalt2024-04-191-0/+35
| | | | | | | | Adding ReceiveReadyFuture
| * Add map methodCaio2024-04-141-0/+133
| |
| * embassy-sync: Add len, is_empty and is_full functions to Channel.Oliver Rockstedt2024-04-082-1/+31
| |
| * Fix `FairSemaphore` bugsAlex Moon2024-04-031-34/+102
| | | | | | | | | | - `acquire` and `acquire_all` futures were `!Send`, even for `M: RawMutex + Send` due to the captured `Cell`. - If multiple `acquire` tasks were queued, waking the first would not wake the second, even if there were permits remaining after the first `acquire` completed.
| * Semaphore synchronization primitiveAlex Moon2024-03-302-0/+705
| | | | | | | | This provides both a "greedy" and "fair" async semaphore implementation.
| * fix typoAlexandru Radovici2024-03-301-1/+1
| |
| * Merge pull request #2727 from de-vri-es/forward-std-feature-to-critical-sectionDario Nieuwenhuis2024-03-221-1/+1
| |\ | | | | | | | | | Forward the "std" feature to the critical-section crate in embassy-sync.
| | * Forward the "std" feature to the critical-section crate in embassy-sync.Maarten de Vries2024-03-221-1/+1
| | | | | | | | | | | | | | | Otherwise, using embassy-sync in unit tests will result in linker errors when using the CriticalSectionRawMutex.
| * | Merge pull request #2651 from peterkrull/once_lockUlf Lilleengen2024-03-222-0/+237
| |\ \ | | |/ | |/| | | | Add `OnceLock` sync primitive
| | * This one is for ci/rustfmtPeter Krull2024-03-031-2/+1
| | |
| | * Add OnceLock sync primitivePeter Krull2024-03-032-0/+238
| | |
| * | fmt: disable "unused" warnings.Dario Nieuwenhuis2024-03-201-2/+1
| | |
| * | Doc update: signaled does not clear signalNoah Bliss2024-03-201-1/+1
| | | | | | | | | signaled does not clear signal (doc update)
| * | rustfmtUlf Lilleengen2024-03-121-7/+3
| | |
| * | Add conversion into dyn variants for channel futuresUlf Lilleengen2024-03-121-0/+19
| | |
| * | Merge pull request #2660 from embassy-rs/zerocopy-docsDario Nieuwenhuis2024-03-041-5/+2
| |\ \ | | | | | | | | | | | | docs: clarify capabilities of zerocopy channel
| | * | docs: clarify capabilities of zerocopy channelUlf Lilleengen2024-03-041-5/+2
| | |/
| * / Add constructor for dynamic channelPeter Krull2024-03-021-1/+21
| |/
* | This one is for cargo fmtPeter Krull2024-03-021-1/+1
| |
* | Reintroduce predicate methods. Add ability for sender to modify value in-place.Peter Krull2024-03-021-7/+260
| |
* | Forgot to update doc commentPeter Krull2024-02-291-1/+1
| |
* | Update tests to reflect changes in previous commitPeter Krull2024-02-291-9/+9
| |
* | Use Option instead of Result for receiver creation since it is the only way ↵Peter Krull2024-02-291-16/+11
| | | | | | | | it can fail.
* | Added sender types, support for dropping receivers, converting to dyn-types, ↵Peter Krull2024-02-291-147/+374
| | | | | | | | revised tests.
* | Changed name to `Watch`, added `DynReceiver`, `get`-method and more reworks.Peter Krull2024-02-283-530/+516
| |
* | Updated formattingPeter Krull2024-02-141-4/+9
| |