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;