Skip to content

Commit

Permalink
apply: update_cache_info macro no longer used in apply feature
Browse files Browse the repository at this point in the history
when we moved `geocode` into its own command
  • Loading branch information
jqnatividad committed Dec 3, 2023
1 parent 442b35b commit de05805
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -346,10 +346,7 @@ pub fn finish_progress(progress: &ProgressBar) {
}
}

#[cfg(all(
any(feature = "apply", feature = "fetch", feature = "geocode"),
not(feature = "lite")
))]
#[cfg(all(any(feature = "fetch", feature = "geocode"), not(feature = "lite")))]
macro_rules! update_cache_info {
($progress:expr, $cache_instance:expr) => {
use cached::Cached;
Expand Down Expand Up @@ -386,10 +383,7 @@ macro_rules! update_cache_info {
};
}

#[cfg(all(
any(feature = "apply", feature = "fetch", feature = "geocode"),
not(feature = "lite")
))]
#[cfg(all(any(feature = "fetch", feature = "geocode"), not(feature = "lite")))]
pub(crate) use update_cache_info;

pub fn get_args<T>(usage: &str, argv: &[&str]) -> CliResult<T>
Expand Down

0 comments on commit de05805

Please sign in to comment.