updated cobs and acknowledged const_fn stability

This commit is contained in:
Andy Killorin 2025-01-27 23:10:07 -05:00
commit c76d988fad
Signed by: ank
GPG key ID: 23F9463ECB67FE8C
2 changed files with 4 additions and 6 deletions

View file

@ -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 }

View file

@ -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.