mirror of
https://github.com/Serial-ATA/lofty-rs
synced 2024-11-10 06:34:18 +00:00
misc: Remove cfg-if dependency
This commit is contained in:
parent
149229fd2b
commit
e14c62bf75
2 changed files with 0 additions and 16 deletions
|
@ -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
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue