Kaspar Schleiser
e1e7a5ddb5
embassy-time: don't select critical-section
impl for std
2025-04-04 22:07:02 +02:00
Sebastian Scholz
869758037b
Add try_from constructors to Duration
2025-03-10 19:05:33 +01:00
Sebastian Scholz
2ceb3a721c
Add Instant::try_from_* constructor functions
2025-03-07 19:32:42 +01:00
Dániel Buga
bb6e6fe30b
Document std/wasm in embassy-time
2025-02-08 19:06:37 +01:00
wackazong
865266a4ae
Take self instead of &mut self
...
This is more idiomatic since methods with these names usually take self and not &mut self.
2025-02-04 11:09:52 +01:00
wackazong
b7fbf6d519
Add saturating_add and saturating_sub to Instant
2025-02-04 11:03:17 +01:00
Dario Nieuwenhuis
113383b8b1
Merge pull request #3840 from bugadani/inline
...
Allow inlining on time driver boundary
2025-02-03 16:42:38 +00:00
Dániel Buga
37b180c61e
Allow inlining on time driver boundary
2025-02-03 17:20:35 +01:00
Marvin Gudel
ec5f283d15
Add cancel safety notes to Ticker
2025-02-02 14:28:45 +01:00
Haobo Gu
a40e1699cd
doc: embassy-time doc
...
Signed-off-by: Haobo Gu <haobogu@outlook.com>
2025-01-16 14:20:40 +08:00
Lukáš Poláček
31b50e6291
Fix year in changelog
2025-01-12 15:06:06 +01:00
Dario Nieuwenhuis
cefdbfab2f
Release embassy-executor v0.7.0, embassy-time v0.4.0, embassy-time-driver v0.2.0.
2025-01-02 18:57:40 +01:00
Dániel Buga
ab8ca3f126
Rename ETQD, bump date
2024-12-22 21:00:23 +01:00
Dániel Buga
9a238e6ad8
Prepare new embassy-time-*driver, embassy-executor, embassy-time
2024-12-22 20:27:15 +01:00
Dániel Buga
abb42206f2
Add generic-queue-* features back to embassy-time
2024-12-22 00:56:34 +01:00
Dániel Buga
3c121e5425
Remove special handling of integrated timer queue
2024-12-16 19:22:22 +01:00
Dario Nieuwenhuis
2f2e2c6031
Make integrated-timers
the default, remove Cargo feature.
2024-12-15 18:49:57 +01:00
Dario Nieuwenhuis
b268b1795f
Merge time-driver and time-queue-driver traits, make HALs own and handle the queue.
2024-12-13 21:20:59 +01:00
Dániel Buga
6cc8709ecc
Changelog
2024-12-10 21:31:42 +01:00
Dániel Buga
5a5495aac4
Refactor integrated-timers
2024-12-10 21:31:42 +01:00
Dario Nieuwenhuis
aaad8450e9
Use inline const for initializing arrays. ( #3567 )
2024-11-24 20:58:48 +01:00
Dániel Buga
448db47263
Remove noop from queue_generic
2024-11-19 17:30:31 +01:00
Dario Nieuwenhuis
796f6c034a
Release embassy-executor 0.6.3.
2024-11-12 18:07:50 +01:00
Dániel Buga
94659325ab
Prep executor 0.6.2
2024-11-06 13:58:02 +01:00
Dario Nieuwenhuis
1a24b4f018
Release embassy-executor v0.6.1, embassy-executor-macros v0.6.1
2024-10-21 01:26:02 +02:00
Ulf Lilleengen
886580179f
update dates
2024-08-05 08:58:56 +02:00
Ulf Lilleengen
37d7b0cd06
prepare release embassy-executor
2024-08-05 08:56:29 +02:00
Ulf Lilleengen
44282b18fa
Prepare embassy-time release
2024-08-05 08:56:29 +02:00
Tarun Singh
a716a3f006
Reduced define for 'unreachable!' to a single macro rule
2024-07-17 17:05:52 -04:00
Ulf Lilleengen
95d0cae897
Merge pull request #3079 from aurelj/with_timeout
...
implement with_timeout()/with_deadline() method style call on Future
2024-06-22 14:14:35 +00:00
Dario Nieuwenhuis
6a4ac5bd60
Add collapse_debuginfo to fmt.rs macros.
...
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+.
2024-06-17 01:38:57 +02:00
Aurélien Jacobs
8ec2e193e2
implement with_timeout()/with_deadline() method style call on Future
2024-06-14 17:46:32 +02:00
Ulf Lilleengen
30918c355b
prepare for embassy-time 0.3.1 release
2024-06-04 09:02:41 +02:00
Andres O. Vela
6eaa259342
embassy-time: add timestamp features
2024-05-30 22:16:56 +02:00
Dario Nieuwenhuis
1c9bb7c2e1
time/generic-queue: fix ub in tests.
2024-05-13 00:35:46 +02:00
Dario Nieuwenhuis
5732ee7ca9
Reduce use of the full futures
crate.
2024-04-26 23:22:25 +02:00
Dániel Buga
3dc54c8c44
Add some metadata
2024-04-26 18:28:41 +02:00
Vega Deftwing
9053b6b5b3
Fix spelling and white space mistakes
2024-04-11 19:45:38 +00:00
Frostie314159
67c9cc2c4b
Merge branch 'embassy-rs:main' into ticker_send_sync
2024-03-31 20:48:05 +02:00
Frostie314159
a2f9aa592e
Made Ticker::next Send+Sync.
2024-03-31 15:07:01 +02:00
Frostie314159
2ea1040e07
Adjusted behavior.
2024-03-28 19:41:50 +01:00
Frostie314159
7efe8e0005
Merge branch 'embassy-rs:main' into reset-at-after
2024-03-21 14:17:03 +01:00
Dario Nieuwenhuis
3d842dac85
fmt: disable "unused" warnings.
2024-03-20 14:53:19 +01:00
Scott Mabin
20cd7d09f4
time: cloneable delay
2024-02-18 17:01:09 +00:00
Caleb Jamison
0ab0b5590a
Fixup docs
2024-01-31 16:28:06 -05:00
Caleb Jamison
8b7d856195
Rename timeout_at to with_deadline
2024-01-31 16:26:11 -05:00
Caleb Jamison
1e698af05b
Add timeout_at convenience function and example.
2024-01-31 14:10:31 -05:00
Dario Nieuwenhuis
6a1c415a4c
Complete cargo.tomls more.
2024-01-12 00:32:47 +01:00
Dario Nieuwenhuis
22197320ff
bump embassy-time 0.3, embassy-executor 0.5, embassy-net 0.4.
2024-01-11 23:01:24 +01:00
Dario Nieuwenhuis
f0606da9ad
time: split queue driver too, don't reexport drivers.
2024-01-11 23:01:24 +01:00