Skip to content

Commit

Permalink
fix: don't redundantly specify cfg engine
Browse files Browse the repository at this point in the history
  • Loading branch information
a-frantz committed Jan 9, 2025
1 parent 2a3a0bd commit a190a94
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions wdl/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@ use std::path::PathBuf;
use std::path::absolute;
use std::time::Duration;

#[cfg(any(feature = "analysis", feature = "engine"))]
#[cfg(feature = "analysis")]
use anyhow::Context;
#[cfg(any(feature = "analysis", feature = "engine"))]
#[cfg(feature = "analysis")]
use anyhow::Result;
#[cfg(any(feature = "analysis", feature = "engine"))]
#[cfg(feature = "analysis")]
use anyhow::anyhow;
#[cfg(any(feature = "analysis", feature = "engine"))]
#[cfg(feature = "analysis")]
use anyhow::bail;
#[cfg(feature = "engine")]
use codespan_reporting::files::SimpleFile;
Expand All @@ -98,9 +98,9 @@ use indicatif::ProgressStyle;
use serde_json::to_string_pretty;
#[cfg(feature = "analysis")]
use tokio::fs;
#[cfg(any(feature = "analysis", feature = "engine"))]
#[cfg(feature = "analysis")]
use url::Url;
#[cfg(any(feature = "analysis", feature = "engine"))]
#[cfg(feature = "analysis")]
#[doc(inline)]
pub use wdl_analysis as analysis;
#[cfg(feature = "analysis")]
Expand All @@ -109,7 +109,7 @@ use wdl_analysis::AnalysisResult;
use wdl_analysis::Analyzer;
#[cfg(feature = "analysis")]
use wdl_analysis::DiagnosticsConfig;
#[cfg(any(feature = "analysis", feature = "engine"))]
#[cfg(feature = "analysis")]
use wdl_analysis::path_to_uri;
#[cfg(feature = "analysis")]
use wdl_analysis::rules as analysis_rules;
Expand Down

0 comments on commit a190a94

Please sign in to comment.