1
Fork 0

updated cobs and acknowledged const_fn stability

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

6
Cargo.lock generated
View file

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

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.