1020 Commits

Author SHA1 Message Date
Yota Toyama
afa1c9bff6 Rename tests for consistency against string nmodule 2025-04-06 18:27:15 -07:00
Yota Toyama
d5953bf7b9 Refactor unit tests 2025-04-06 18:25:44 -07:00
Yota Toyama
9cd8c215bf Fix doc test 2025-04-06 18:19:54 -07:00
Yota Toyama
237ca6ce33 Rename inner storage field 2025-04-06 18:16:32 -07:00
Yota Toyama
fefd0fc111 Rename module 2025-04-06 18:13:22 -07:00
Yota Toyama
42c48ae5a4 Rename a function 2025-04-06 18:11:54 -07:00
Yota Toyama
822207bf37 Refactor documenation 2025-04-06 18:10:57 -07:00
Yota Toyama
92e4a299e0 Format documentation 2025-04-06 18:06:56 -07:00
Yota Toyama
92d3e7fb43 Refactor documentation 2025-04-06 18:06:15 -07:00
Yota Toyama
688e5fa814 Rename capacity type parameter in type declaration 2025-04-06 18:05:23 -07:00
Yota Toyama
cbd134c22f Dereference into CStr 2025-04-06 18:04:31 -07:00
Yota Toyama
01134ade68 Rename as_bytes_with_nul function 2025-04-06 17:51:12 -07:00
Yota Toyama
4060b0db36 Update change log 2025-04-06 17:49:35 -07:00
Yota Toyama
9d02f6a2cb Rename capacity type parameter 2025-04-06 17:48:33 -07:00
Yota Toyama
9a9ae94df1 Fix build errors 2025-04-06 17:47:56 -07:00
Yota Toyama
64a7ca1482 Merge branch 'main' into cstring 2025-04-06 17:38:39 -07:00
Yota Toyama
3ce4b2ce5e Refactor inline documentation 2025-04-06 17:35:14 -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
Markus Reiter
4b78bc1bb9
Merge pull request #500 from Nitrokey/vec-drain-generic
Implement `Vec::drain`, `as_(mut_)view` on the `*Inner` types, generic over `Storage`
2025-04-05 21:29:45 +00:00
Sosthène Guédon
b01fcfb662
Add workaround for compiler ICE 2025-03-31 15:51:00 +02:00
Sosthène Guédon
db7e873422
Fix clippy warning 2025-03-31 15:51:00 +02:00
Sosthène Guédon
2496cddc78
Fix doc issue on String and LinearMap 2025-03-31 15:51:00 +02:00
Sosthène Guédon
3e7c9aa7fe
Genericise drain function over storage 2025-03-31 15:51:00 +02:00