Soso
e79f79c140
Merge pull request #633 from johann-cm/from_bytes_until_nul
...
implement a pendant to `Cstr::from_bytes_until_nul`
2025-11-25 19:43:29 +00:00
Sosthène Guédon
68391063e3
Fix changelog
2025-11-25 20:41:09 +01:00
Johann Carl Meyer
f18153ef9f
improve tests
2025-11-23 18:32:00 +01:00
Johann Carl Meyer
2f3ef268d0
format
2025-11-23 18:18:39 +01:00
Johann Carl Meyer
fec6cc0f64
rename and add test case
...
- rename from_bytes_until_nul to from_bytes_truncating_at_nul, in order
to aviod confusion with Cstr::from_bytes_until_nul, which errors on
non-nul terminated data. - add a test case for handling a nul-terminated
slice without interior nul bytes - improve documentation
2025-11-23 18:14:59 +01:00
Johann Carl Meyer
4c2a368922
update changelog
2025-11-23 16:11:52 +01:00
Johann Carl Meyer
5a5ffa2708
implement a pendant to Cstr::from_bytes_until_nul
2025-11-23 15:58:24 +01:00
Zeeshan Ali Khan
75192be01a
Merge pull request #623 from sgued/release-092
...
Prepare release 0.9.2
2025-11-12 12:43:08 +00:00
Sosthène Guédon
cdcfe4aaf9
Prepare release 0.9.2
2025-11-11 22:17:43 +01:00
Soso
a3fc143f8c
Merge pull request #612 from Mortano/pool-node-ref-fix
...
Fix UB in `pool` module when using `ArcBlock<T>` and `BoxBlock<T>`
2025-11-11 17:09:18 +00:00
Pascal
c7b251cfc8
Updated CHANGELOG
2025-11-11 14:38:32 +01:00
Pascal
77a22f2143
Made Node trait functions unsafe and guaranteed correct initialization in ArcPool and BoxPool
2025-11-11 14:38:32 +01:00
Soso
db731c356a
Merge pull request #631 from zeenix/nightly-fmt
...
Enable a few rustfmt options:
2025-11-07 21:05:14 +00:00
Zeeshan Ali Khan
947687b4ee
Enable a few rustfmt options:
...
* `imports_granularity = "Crate"`
* `comment_width = 100`
* `wrap_comments = true`
https://github.com/rust-lang/rustfmt/blob/master/Configurations.md#imports_granularity
https://github.com/rust-lang/rustfmt/blob/master/Configurations.md#comment_width
https://github.com/rust-lang/rustfmt/blob/master/Configurations.md#wrap_comments
2025-11-07 12:41:35 +01:00
Zeeshan Ali Khan
dfe1441e44
Merge pull request #624 from sgued/mpmc-issue-documentation
...
Document #583 and deprecate `mpmc`
2025-11-05 17:05:14 +00:00
Sosthène Guédon
73bfcf4a1f
Document #583 and deprecate mpmc
2025-11-05 07:51:00 +01:00
Soso
38c004efcc
Merge pull request #628 from therealbnut/more_into_iter_traits
...
Add ExactSizeIterator, FusedIterator, and DoubleEndedIterator on IntoIter types
2025-11-04 12:43:12 +00:00
Soso
30e1494319
Merge pull request #629 from claudecodering/main
...
chore: remove repetitive word in comment
2025-11-04 12:31:01 +00:00
claudecodering
04b610f9ac
chore: remove repetitive word in comment
...
Signed-off-by: claudecodering <claudecoder@outlook.com>
2025-11-04 15:38:49 +08:00
therealbnut
bd70229dd3
Update changelog
2025-11-04 10:49:54 +11:00
therealbnut
98d5283924
Add more IntoIter traits
2025-11-04 10:36:00 +11:00
Zeeshan Ali Khan
5cbad7ae93
Merge pull request #625 from rustyflight/box_support_raw
...
Add support for `into_raw` and `from_raw` for Box
2025-11-03 16:22:21 +00:00
Balint134
40d62380d7
Add support for into_raw and from_raw for Box
2025-11-03 10:03:53 -06:00
Soso
db26571bef
Merge pull request #617 from nullstalgia/deque_truncate_retain
...
Add truncate and retain(_mut) to Deque
2025-10-28 17:51:46 +00:00
nullstalgia
fbe5f3ff3c
Add truncate and retain(_mut) to Deque
2025-10-28 18:49:35 +01:00
Zeeshan Ali Khan
e7fb25c650
Merge pull request #622 from sgued/pin-nightly
...
Pin nightly in CI
2025-10-25 18:00:40 +00:00
Sosthène Guédon
cd3e636880
Pin nightly in CI until https://github.com/rust-lang/rust/issues/147648 is resolved
2025-10-25 18:54:58 +02:00
Zeeshan Ali Khan
06aa660e8c
Merge pull request #586 from zyp/embedded-io
...
Add optional `embedded_io::Write` impl for `Vec`.
2025-10-11 14:34:28 +00:00
Vegard Storheil Eriksen
a25bd4cc9d
Add optional embedded_io::Write impl for Vec.
2025-10-08 22:04:12 +02:00
Soso
dfeb3dd9ac
Merge pull request #577 from mkj/dev/linearentry
...
Add LinearMap entry() and retain()
2025-10-01 16:42:21 +00:00
Matt Johnston
ca12838bf9
linear_map: Add LinearMap::retain()
2025-10-01 18:28:46 +02:00
Matt Johnston
cf0bad57f9
linear_map: Additional tests
2025-10-01 18:28:46 +02:00
Matt Johnston
e6c1fe00a9
linear_map: Implement Entry API
...
entry tests and docs are copied verbatim from IndexMap
2025-10-01 18:28:42 +02:00
Soso
5ca88390e1
Merge pull request #616 from us-irs/remove-doc-auto-cfg-feature
...
removed doc_auto_cfg feature, was merged into doc_cfg
2025-10-01 16:13:27 +00:00
Robin Mueller
32ed2090f9
removed doc_auto_cfg feature, was merged into doc_cfg
2025-10-01 10:00:52 +02:00
Soso
bbe988d87f
Merge pull request #614 from vishy11/master
...
Add zeroization support for heapless data structures
2025-09-24 17:26:58 +00:00
Zeeshan Ali Khan
0b027b1ff8
Implements zeroization support across all heapless data structures to securely clear sensitive data from memory:
...
- When the zeroize feature is enabled, the LenType sealed trait now has Zeroize as a supertrait
- This simplifies the bound for deriving Zeroize for VecInner and other types
- Added tests to verify VecView also implements Zeroize correctly
This feature is essential for security-sensitive applications needing to prevent data leaks from memory dumps.
Note: Zeroize initially worked on Vector purely via derivation, however was not complete without proper bound checks. Without these checks, the deref implementation of Zeroize was used instead, which led to incomplete zeroization of the Vector's contents.
2025-09-24 13:06:10 -04:00
Zeeshan Ali Khan
d29f95cd68
Merge pull request #607 from zeenix/serde-core
...
Switch from `serde` to `serde_core`
2025-09-16 16:04:13 +00:00
Zeeshan Ali Khan
284955a2d7
Switch from serde to serde_core
...
This new split of `serde` crate, enables faster compilation by allowing
non-derive needing parts (such as this library) to be compiled in
parallel to `serde_derive` crate.
2025-09-16 14:57:55 +02:00
Zeeshan Ali Khan
ceb3fc06ba
Merge pull request #606 from Mortano/union-repr
...
Fix memory layout of UnionNode<T> in pool module
2025-09-08 13:54:41 +00:00
Mortano
ca2368dd7f
Update CHANGELOG.md to more concise description
...
Co-authored-by: Soso <51865119+sgued@users.noreply.github.com>
2025-09-08 15:51:33 +02:00
Pascal
66dab53263
Added missing CHANGELOG entry
2025-09-08 15:51:33 +02:00
Pascal
c70d081ec2
Fixed memory layout of UnionNode in pool module
2025-09-08 15:51:33 +02:00
Zeeshan Ali Khan
ae6e2ab64e
Merge pull request #591 from dysonltd/impl_try_from_for_deque
...
Implements TryFrom for Deque from array
2025-09-08 13:47:50 +00:00
William Hicklin
75dbe63466
Implements TryFrom for Deque from array
2025-09-08 13:12:41 +01:00
Zeeshan Ali Khan
f974fc129c
Merge pull request #604 from phycrax/impl-defmt-format-capacityerr
...
Implement defmt::Format for CapacityError
2025-09-03 15:02:22 +00:00
Süha Ünüvar
381269b3b9
add missing dots
2025-09-03 22:42:42 +08:00
Süha Ünüvar
0b21ca3e0d
Implement defmt::Format for CapacityError
2025-09-03 11:49:38 +08:00
Zeeshan Ali Khan
6279f8a41e
Merge pull request #602 from sgued/capacity-error-default
...
Implement default for capacity error
2025-08-27 14:47:25 +00:00
Sosthène Guédon
e6e615a6de
Implement default for capacity error
...
Fix https://github.com/rust-embedded/heapless/issues/601
2025-08-27 11:57:31 +02:00