109 Commits

Author SHA1 Message Date
Sosthène Guédon 1b2b0ed462 Add CI workflows 2025-03-04 11:07:36 +01:00
Sosthène Guédon 005acc035b Fix clippy warnings 2025-03-04 10:46:59 +01:00
Sosthène Guédon 8745dab289 Restore AID debug behaviour 2025-03-04 10:20:37 +01:00
Alexander Walter 4570c5c58d chore: remove delog crate 2025-03-04 10:20:37 +01:00
Alexander Walter cfaf1c90d9 feat: delog and defmt features 2025-03-04 10:20:37 +01:00
Sosthène Guédon 6d4002ddf0 Fix heapless-byte cfg 2025-02-28 10:40:45 +01:00
Robin Krahl 74c2d4d894 Release v0.1.3 0.1.3 2024-10-17 23:46:37 +02:00
Sosthène Guédon 348238e381 CommandView: precise lifetime of data 2023-11-24 09:53:54 +01:00
Robin Krahl a2ee8a2a3f Release v0.1.2 0.1.2 2023-11-22 14:48:39 +01:00
Sosthène Guédon 57afb5355d Fix clippy warnings 2023-10-29 10:59:04 +01:00
Sosthène Guédon 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 8b0d071cc6 Fix datasource is_empty calculation 2023-10-25 15:17:07 +02:00
Sosthène Guédon 58152e8737 Fix clippy warnings 2023-09-22 11:31:28 +02:00
Sosthène Guédon 4a31b8a881 Update changelog 2023-09-22 11:31:28 +02:00
Sosthène Guédon c22065b39d Add to_u16 method 2023-09-22 11:31:28 +02:00
Sosthène Guédon 507f8fa596 Document status values 2023-09-22 11:31:28 +02:00
Sosthène Guédon 4dff08c9a3 Rename UPPER to MAX 2023-09-22 11:31:28 +02:00
Sosthène Guédon 2ec3f87ce6 Make the Unkonwn status variant visibly not meant to be used 2023-09-22 11:31:28 +02:00
Sosthène Guédon 76b013aa74 Document #[doc(hidden)] strategy 2023-09-22 11:31:28 +02:00
Sosthène Guédon 3fc9f826e6 Make consts public 2023-09-22 11:31:28 +02:00
Sosthène Guédon d7f6402ec9 Fix naming 2023-09-22 11:31:28 +02:00
Sosthène Guédon 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 24443bbada Fix review comments 2023-09-22 11:27:49 +02:00
Sosthène Guédon d5da0525dc Fix clippy warnings 2023-09-22 11:27:49 +02:00