aboutsummaryrefslogtreecommitdiff
path: root/embassy-sync
Commit message (Collapse)AuthorAgeFilesLines
* correct spelling of the word "receive"Stefan Gehr2024-02-031-1/+1
|
* sync/pipe: be able to be zero-initializedSam Lakerveld2024-02-011-11/+11
|
* Complete cargo.tomls more.Dario Nieuwenhuis2024-01-121-0/+1
|
* Centralize license and MSRV boilerplate into the repo readme.Dario Nieuwenhuis2024-01-111-14/+0
|
* Remove nightly autodetects.Dario Nieuwenhuis2024-01-102-15/+0
|
* Put waiting state back if anyRasmus Melchior Jacobsen2023-12-201-1/+4
|
* feat(embassy-sync): Add try_take() to signalRasmus Melchior Jacobsen2023-12-201-0/+11
|
* embassy-sync 0.5Scott Mabin2023-12-042-1/+8
|
* Remove nightly and unstable-traits features in preparation for 1.75.Dario Nieuwenhuis2023-11-294-63/+68
|
* Update embedded-(hal,io,nal).Dario Nieuwenhuis2023-11-291-1/+1
|
* revert module changes, reexport heapless relevant itemsScott Mabin2023-11-203-8/+6
|
* docsScott Mabin2023-11-182-1/+6
|
* more clean up, refactor channel into module to share codeScott Mabin2023-11-183-48/+6
|
* reduce duplication further by sharing Dynamic sender/receiverScott Mabin2023-11-182-85/+3
|
* docs and simple test for priorityScott Mabin2023-11-181-0/+11
|
* Reduce duplication, fix testsScott Mabin2023-11-182-61/+41
|
* Priority channel using binary heapScott Mabin2023-11-182-0/+745
|
* Update heapless to v0.8, embedded-nal-async to v0.7Dario Nieuwenhuis2023-11-101-1/+1
|
* Upgrade static-cell to v2.0Dario Nieuwenhuis2023-11-021-1/+1
|
* Prepare embassy-net 0.2.1 and embassy-sync 0.4.0Dániel Buga2023-10-312-2/+7
|
* Re-add impl_trait_projectionsDániel Buga2023-10-301-1/+2
|
* update embedded-io, embedded-nal-async.Dario Nieuwenhuis2023-10-041-1/+1
|
* Remove impl_trait_projections.Dario Nieuwenhuis2023-10-021-1/+1
|
* feat: bump embassy-sync version to 0.3.0Ulf Lilleengen2023-09-142-2/+9
| | | | Update changelog in preparation for release
* Rename zero_copy -> zerocopy.Dario Nieuwenhuis2023-09-042-1/+1
|
* Add docs to zero-copy-channelRuben De Smet2023-09-041-0/+51
|
* Prefer `receive` over `recv`Ruben De Smet2023-09-041-9/+9
|
* Move embassy-net-driver-channel::zerocopy_channel to ↵Ruben De Smet2023-09-042-0/+210
| | | | embassy_sync::zero_copy_channel
* Merge pull request #1854 from bugadani/strDario Nieuwenhuis2023-09-032-2/+2
|\ | | | | embassy-{net, sync, time}: Use fmt::unwrap
| * Use fmt::unwrapDániel Buga2023-09-022-2/+2
| |
* | Sync all fmt.rs files.Dario Nieuwenhuis2023-08-301-6/+39
| |
* | sync/pipe: impl BufRead.Dario Nieuwenhuis2023-08-302-125/+227
|/
* Merge pull request #1763 from rubdos/sender-receiver-with-ctxDario Nieuwenhuis2023-08-221-54/+136
|\ | | | | | | Refactor Channel/Sender/Receiver poll methods
| * Deprecate *recv* in favor of *receive*Ruben De Smet2023-08-221-44/+44
| |
| * Implement Channel::poll_receive(..) -> Poll<T>Ruben De Smet2023-08-111-4/+39
| |
| * Channel poll methods return Poll instead of boolRuben De Smet2023-08-111-14/+22
| |
| * Expose poll_ready_to_{send,receive} in Sender/ReceiverRuben De Smet2023-08-111-0/+39
| |
* | Fix typoDániel Buga2023-08-151-1/+1
|/
* embassy-sync: manual Copy impls for channel and pipeSam Lakerveld2023-08-082-6/+12
|
* Update to embedded-io 0.5 (#1752)Dario Nieuwenhuis2023-08-072-12/+12
|
* wpan: fully implement initial draft conceptxoviat2023-07-181-0/+22
|
* sync/pipe: fix doc typos.Dario Nieuwenhuis2023-06-271-2/+2
|
* fmt: remove unused defmt::timestamp!Dario Nieuwenhuis2023-06-091-3/+0
|
* sync/pipe: write all user data to pipeZhangYong2023-06-041-0/+10
| | | | sync/pipe: add write_all function
* Use make_static! from static-cell v1.1Dario Nieuwenhuis2023-06-011-1/+1
|
* sync: do will_wake check in MultiWakerRegistration.Dario Nieuwenhuis2023-05-262-43/+40
|
* Update Rust nightly.Dario Nieuwenhuis2023-05-191-1/+0
|
* Release embassy-sync v0.2.0Dario Nieuwenhuis2023-04-132-1/+23
|
* executor,sync: add support for turbo-wakers.Dario Nieuwenhuis2023-03-305-42/+78
| | | | | | | | | | | | | | | | | | | | | | | | This is a `core` patch to make wakers 1 word (the task pointer) instead of 2 (task pointer + vtable). It allows having the "waker optimization" we had a while back on `WakerRegistration/AtomicWaker`, but EVERYWHERE, without patching all crates. Advantages: - Less memory usage. - Faster. - `AtomicWaker` can actually use atomics to load/store the waker, No critical section needed. - No `dyn` call, which means `cargo-call-stack` can now see through wakes. Disadvantages: - You have to patch `core`... - Breaks all executors and other things that create wakers, unless they opt in to using the new `from_ptr` API. How to use: - Run this shell script to patch `core`. https://gist.github.com/Dirbaio/c67da7cf318515181539122c9d32b395 - Enable `build-std` - Enable `build-std-features = core/turbowakers` - Enable feature `turbowakers` in `embassy-executor`, `embassy-sync`. - Make sure you have no other crate creating wakers other than `embassy-executor`. These will panic at runtime. Note that the patched `core` is equivalent to the unpached one when the `turbowakers` feature is not enabled, so it should be fine to leave it there.
* sync/pipe: update to clarify docs that it is byte-oriented.Dario Nieuwenhuis2023-03-261-28/+43
| | | | | There was some language copypasted from Channel talking about "messages" or "values", that is not really accurate with Pipe.