1029 Commits

Author SHA1 Message Date
Christian Poveda
a849a60067
Rename histbuf to history_buf and HistoryBuffer.* to HistoryBuf.* 2025-04-10 15:54:10 -05:00
Christian Poveda
8b55230611
Rename indexset to index_set and only re-export IndexSet 2025-04-10 15:53:06 -05:00
Christian Poveda
7275c51223
Rename indexmap to index_map and only re-export IndexMap 2025-04-10 15:52:16 -05:00
Markus Reiter
fb62d12ad5
Merge pull request #504 from GnomedDev/vec-generic-length
Implement a generic length parameter for Vec<T, N>
2025-04-10 17:45:39 +00:00
Markus Reiter
da404c14fd
Merge pull request #540 from pvdrz/keep-views-only
`SortedLinkedList`: Keep only the view versions of `Iter` and `FindMut`
2025-04-10 17:43:45 +00:00
GnomedDev
ca47366a71
Add #[inline] to LenType trait methods 2025-04-10 17:55:23 +01:00
GnomedDev
92dbf9c1e1
Remove useless Drain documentation 2025-04-10 17:55:23 +01:00
GnomedDev
c8d34b6213
Move LenType implementation to Sealed 2025-04-10 17:55:23 +01:00
GnomedDev
a16a927a33
Implement a generic length parameter for Vec<T, N> 2025-04-10 17:55:22 +01:00
Christian Poveda
0e8f01103e
Update changelog 2025-04-10 10:40:42 -05:00
Christian Poveda
85f1aeae68
Make implementations generic over the storage 2025-04-10 10:40:42 -05:00
Christian Poveda
e395892318
Remove sorted_linked_list::FindMut and sorted_linked_list::FindMutInner 2025-04-10 10:38:51 -05:00
Christian Poveda
9924c673e1
Remove sorted_linked_list::Iter and sorted_linked_list::IterInner 2025-04-10 10:36:51 -05:00
Markus Reiter
6ae82d53a5
Merge pull request #541 from rilipco/impl-alloc-interop
Add some conversion options for alloc vecs
2025-04-08 21:03:24 +00:00
Markus Reiter
06a96b70ff
Merge pull request #550 from Nitrokey/add-fixme
Add FIXME prefix to temporary workaround
2025-04-07 12:01:47 +00:00
Sosthène Guédon
2680f71965
Add FIXME prefix to temporary workaround
See https://github.com/rust-embedded/heapless/pull/500#discussion_r2029972717
2025-04-07 09:21:15 +02:00
Alex Martens
5dcb316ced vec: add negative-path tests for alloc conversion 2025-04-06 17:55:09 -07:00
Alex Martens
d9b6c560d1 vec: add tests for alloc conversion 2025-04-06 17:50:56 -07:00
Alex Martens
bee84f9e77 Merge branch 'main' into impl-alloc-interop 2025-04-06 17:34:50 -07:00
Alex Martens
4251a17b2e CI: add alloc feature 2025-04-06 17:31:16 -07:00
Alex Martens
f83c254cf1 Cargo.toml: add alloc to docs.rs build 2025-04-06 17:31:16 -07:00
Alex Martens
4c40b606f5 src/vec: address pull-request feedback 2025-04-06 17:31:11 -07:00
Markus Reiter
b6c073923d
Merge pull request #340 from xgroleau/feat/add-bytes-support
Add support for `Bytes`
2025-04-06 19:44:15 +00:00
Markus Reiter
0b1e1a50ba
Add bytes feature. 2025-04-06 21:42:37 +02:00
Markus Reiter
6d52751ad1
Add changelog entry. 2025-04-06 21:36:11 +02:00
Markus Reiter
5ce8ccd7b1
Implement bytes::Buf for Vec. 2025-04-06 21:31:06 +02:00
xgroleau🐢
1ea90099b8
Added support for Bytes 2025-04-06 21:31:06 +02:00
Dario Nieuwenhuis
53a0f54ed8
Merge pull request #460 from lmbollen/ufmt-udisplay-string
Add `uDisplay` for `String` and inline `ufmt` functions
2025-04-06 17:32:53 +00:00
Markus Reiter
5785761b98
Make ufmt feature optional. 2025-04-06 19:30:40 +02:00
Lucas Bollen
d51cc11618
Add inline annotations to wrapping function calls in ufmt
This should make the compiler inline the function calls to increase performance.
2025-04-06 19:29:42 +02:00
Lucas Bollen
b21563dfa7
Add the uDisplay trait for String incl test.
Did not add `uDisplay` for `Vec` because there is no trivial implementation.

# Conflicts:
#	Cargo.toml
#	src/ufmt.rs
2025-04-06 19:28:42 +02:00
Markus Reiter
d2463de75b
Merge pull request #525 from pamburus/feature/indexmap/get-index
feat(indexmap): added `get_index`, `get_index_mut` and `get_index_of`
2025-04-06 00:25:28 +00:00
Markus Reiter
df33331075
Fix formatting. 2025-04-06 02:24:02 +02:00
Pavel Ivanov
894937c219
feat(indexmap): added get_index, get_index_mut and get_index_of 2025-04-06 02:23:10 +02:00
Markus Reiter
db6a4433ad
Merge pull request #503 from YuhanLiin/indexmap-partialeq
Relax indexmap PartialEq bounds so value doesn't need to be Eq
2025-04-05 23:19:05 +00:00
Markus Reiter
1052f4d783
Also relax bounds on PartialEq for LinearMap. 2025-04-06 01:16:49 +02:00
Markus Reiter
6c6ba16921
Relax indexmap PartialEq bounds even more. 2025-04-06 01:12:17 +02:00
Markus Reiter
f5e1ca71d6
Fix formatting. 2025-04-06 01:12:17 +02:00
Yuhan Lin
acbfe7d1ff
Update CHANGELOG.md
Co-authored-by: Markus Reiter <me@reitermark.us>
2025-04-06 01:12:17 +02:00
YuhanLiin
6d84c41ca8
Fix test 2025-04-06 01:12:17 +02:00
YuhanLiin
42c5248e92
Add equality test 2025-04-06 01:12:17 +02:00
YuhanLiin
a18a0d5fb2
Update CHANGELOG 2025-04-06 01:12:17 +02:00
YuhanLiin
54a681cf88
Relax indexmap PartialEq bounds so value doesn't need to be Eq 2025-04-06 01:12:17 +02:00
Markus Reiter
877db4253f
Merge pull request #546 from newAM/defmt-1
defmt: 0.3 -> 1
2025-04-05 22:47:44 +00:00
Markus Reiter
0c6728cc53
Merge pull request #526 from pamburus/feature/indexmap/truncate
feat(indexmap): added `truncate`
2025-04-05 22:22:47 +00:00
Markus Reiter
1e7f5b8d0c
Make example easier to follow. 2025-04-06 00:20:03 +02:00
Markus Reiter
455faace03
Fix formatting. 2025-04-06 00:20:03 +02:00
Pavel Ivanov
59bacfda0c
feat(indexmap): added truncate 2025-04-06 00:20:03 +02:00
Markus Reiter
6067119ed3
Rename defmt-1 feature to defmt. 2025-04-05 23:46:31 +02:00
Alex Martens
12086b194b defmt: 0.3 -> 1 2025-04-05 23:40:46 +02:00