5 Commits

Author SHA1 Message Date
Robin Krahl 98b846ca2f Release ctaphid-app v0.1.0 2025-01-08 18:22:00 +01:00
Robin Krahl 5a2864c76f Release ctaphid-app v0.1.0-rc.1 2025-01-08 09:41:01 +01:00
Robin Krahl 4b359ee7bf Replace heapless dependency with heapless-bytes 2025-01-07 19:29:19 +01:00
Robin Krahl adb51a2bf8 Make App trait generic over response size
The buffer size is an implementation detail of the dispatch
implementation.  Applications should not depend on it.  This patch makes
the App trait generic over the response size and changes the request
argument to use a slice instead of a reference to a heapless::Vec.

If applications need a minimum response size, they can still use a
const assertion to enforce it.
2025-01-04 12:41:22 +01:00
Robin Krahl 21f09314d1 Extract App trait into ctaphid-app
Applications don’t need to depend on the dispatch implementation.  They
only need the App trait.  This patch moves the trait into a separate
crate.
2025-01-04 12:34:44 +01:00