misc: Remove cfg-if dependency

This commit is contained in:
Serial 2023-02-15 00:14:54 -05:00 committed by Alex
parent 149229fd2b
commit e14c62bf75
2 changed files with 0 additions and 16 deletions

View file

@ -15,8 +15,6 @@ include = ["src", "Cargo.toml", "LICENSE-APACHE", "LICENSE-MIT", "benches",
# Vorbis comments pictures
base64 = "0.21.0"
byteorder = "1.4.3"
# TODO: rustfmt only works with cfg_if for now (https://github.com/rust-lang/rustfmt/issues/3253)
cfg-if = "1.0.0"
# ID3 compressed frames
flate2 = { version = "1.0.25", optional = true }
# Proc macros

View file

@ -1,17 +1,3 @@
// See cfg-if comment in `Cargo.toml`
//
// macro_rules! feature_locked {
// (
// #![cfg($meta:meta)]
// $($item:item)+
// ) => {
// $(
// #[cfg($meta)]
// $item
// )+
// }
// }
macro_rules! try_vec {
($elem:expr; $size:expr) => {{
let mut v = Vec::new();