updated cobs and acknowledged const_fn stability
This commit is contained in:
parent
fdfaa86a17
commit
c76d988fad
2 changed files with 4 additions and 6 deletions
|
|
@ -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 }
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue