From c76d988fad14da2d62716f4aed68037b0c25cb31 Mon Sep 17 00:00:00 2001 From: Andy Killorin <37423245+Speedy6451@users.noreply.github.com> Date: Mon, 27 Jan 2025 23:10:07 -0500 Subject: [PATCH] updated cobs and acknowledged const_fn stability --- Cargo.lock | 6 +++--- framed/Cargo.toml | 2 +- framed/src/lib.rs | 2 -- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 818f531..f2fca5a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "ansi_term" @@ -58,9 +58,9 @@ dependencies = [ [[package]] name = "cobs" -version = "0.1.4" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c44be444fc7959957b0f331d596bafcfbbe30cbdf41665d1c40c68eda24137f6" +checksum = "67ba02a97a2bd10f4b59b25c7973101c79642302776489e030cd13cdab09ed15" [[package]] name = "crc16" diff --git a/framed/Cargo.toml b/framed/Cargo.toml index 80c83e8..847524f 100644 --- a/framed/Cargo.toml +++ b/framed/Cargo.toml @@ -15,7 +15,7 @@ branch = "master" [dependencies] byteorder = { version = "^1.2.1", default-features = false } -cobs = { version = "^0.1.4", default-features = false } +cobs = { version = "^0.2.3", default-features = false } crc16 = "0.4.0" ref_slice = "^1.1.1" serde = { version = "^1.0", default-features = false } diff --git a/framed/src/lib.rs b/framed/src/lib.rs index 9fdffd5..63d8d0a 100644 --- a/framed/src/lib.rs +++ b/framed/src/lib.rs @@ -86,8 +86,6 @@ #![cfg_attr(not(feature = "use_std"), no_std)] -#![cfg_attr(feature = "use_nightly", feature(const_fn))] - /// Macro const_fn! declares a function /// with `pub fn` when feature "use_nightly" is disabled, and /// with `pub const fn` when feature "use_nightly" is enabled.