Sosthène Guédon
23f487dfb4
Fix heapless-byte cfg
2025-02-28 10:29:17 +01:00
Robin Krahl
74c2d4d894
Release v0.1.3
0.1.3
2024-10-17 23:46:37 +02:00
Sosthène Guédon and sosthene-nitrokey
348238e381
CommandView: precise lifetime of data
2023-11-24 09:53:54 +01:00
Robin Krahl and Nicolas Stalder
a2ee8a2a3f
Release v0.1.2
0.1.2
2023-11-22 14:48:39 +01:00
Sosthène Guédon and Robin Krahl
57afb5355d
Fix clippy warnings
2023-10-29 10:59:04 +01:00
Sosthène Guédon and Robin Krahl
b06e5d9ec3
Fix semver breaks
2023-10-29 10:59:04 +01:00
Robin Krahl
33f0401216
Refactor CommandView::to_owned
...
This patch replaces Vec::from_slice with Vec::extend_from_slice in
CommandView::to_owned. This reduces the stack usage on lpc55 to one
third (!), from ca. 23 kB to ca. 8 kB with S = 7609.
2023-10-25 15:17:41 +02:00
Sosthène Guédon and Robin Krahl
8b0d071cc6
Fix datasource is_empty calculation
2023-10-25 15:17:07 +02:00
Sosthène Guédon and sosthene-nitrokey
58152e8737
Fix clippy warnings
2023-09-22 11:31:28 +02:00
Sosthène Guédon and sosthene-nitrokey
4a31b8a881
Update changelog
2023-09-22 11:31:28 +02:00
Sosthène Guédon and sosthene-nitrokey
c22065b39d
Add to_u16 method
2023-09-22 11:31:28 +02:00
Sosthène Guédon and sosthene-nitrokey
507f8fa596
Document status values
2023-09-22 11:31:28 +02:00
Sosthène Guédon and sosthene-nitrokey
4dff08c9a3
Rename UPPER to MAX
2023-09-22 11:31:28 +02:00
Sosthène Guédon and sosthene-nitrokey
2ec3f87ce6
Make the Unkonwn status variant visibly not meant to be used
2023-09-22 11:31:28 +02:00
Sosthène Guédon and sosthene-nitrokey
76b013aa74
Document #[doc(hidden)] strategy
2023-09-22 11:31:28 +02:00
Sosthène Guédon and sosthene-nitrokey
3fc9f826e6
Make consts public
2023-09-22 11:31:28 +02:00
Sosthène Guédon and sosthene-nitrokey
d7f6402ec9
Fix naming
2023-09-22 11:31:28 +02:00
Sosthène Guédon and sosthene-nitrokey
9415634d8c
Support all status bytes
...
This adds all status bytes defined in ISO7816-4
It also adds an `Unknown` variant that is `#[doc(hidden)]` to prevent creation of statuses that exists as a variant.
It also has a `const` conversion function to allow matching against unsupported status bytes without being a semver hazard.
2023-09-22 11:31:28 +02:00
Sosthène Guédon and sosthene-nitrokey
24443bbada
Fix review comments
2023-09-22 11:27:49 +02:00
Sosthène Guédon and sosthene-nitrokey
d5da0525dc
Fix clippy warnings
2023-09-22 11:27:49 +02:00
Sosthène Guédon and sosthene-nitrokey
01964d3343
Rename do to data_object
2023-09-22 11:27:49 +02:00
Sosthène Guédon and sosthene-nitrokey
e8035a38e9
Fix test compilation
2023-09-22 11:27:49 +02:00
Sosthène Guédon and sosthene-nitrokey
fab1796b7d
Fix write_all behaviour
2023-09-22 11:27:49 +02:00
Sosthène Guédon and sosthene-nitrokey
10c894b033
Implement BitOr and BitAnd for Instruction
2023-09-22 11:27:49 +02:00
Sosthène Guédon and sosthene-nitrokey
16aba0dc67
Add support for 0x010000 expected length
...
This would encode to `[00, 00]` and is not in range for u16
2023-09-22 11:27:49 +02:00