From 6dcbc0d1b79e597eb643b2d35ac5d6e548e30172 Mon Sep 17 00:00:00 2001 From: Nicolas Stalder Date: Fri, 11 Jun 2021 00:12:34 +0200 Subject: [PATCH] Bump heapless and all that bumped it --- Cargo.toml | 4 ++-- src/types.rs | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index b8c6c78..a26a1af 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,8 +8,8 @@ edition = "2018" [dependencies] delog = "0.1.0" -heapless = "0.6" -heapless-bytes = "0.2.0" +heapless = "0.7" +heapless-bytes = "0.3" interchange = "0.2.0" [features] diff --git a/src/types.rs b/src/types.rs index e7c2465..5e96e1c 100644 --- a/src/types.rs +++ b/src/types.rs @@ -6,13 +6,13 @@ pub enum Error { InvalidLength, } -// 7609 bytes is max message size for ctaphid -type U6144 = >::Output; -type U7168 = >::Output; -pub type U7609 = >::Output; +// // 7609 bytes is max message size for ctaphid +// type U6144 = >::Output; +// type U7168 = >::Output; +// pub type U7609 = >::Output; // pub type U7609 = heapless::consts::U4096; -pub type Message = heapless_bytes::Bytes; +pub type Message = heapless::Vec; pub type AppResult = core::result::Result<(), Error>; pub type InterchangeResponse = core::result::Result;