Skip to content

Commit

Permalink
chore: remove wdl-engine dependency from wdl. (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterhuene authored Oct 22, 2024
1 parent 0bbdc09 commit 30dbb68
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
8 changes: 5 additions & 3 deletions wdl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ wdl-lint = { path = "../wdl-lint", version = "0.8.0", optional = true }
wdl-analysis = { path = "../wdl-analysis", version = "0.5.0", optional = true }
wdl-lsp = { path = "../wdl-lsp", version = "0.5.0", optional = true }
wdl-format = { path = "../wdl-format", version = "0.3.0", optional = true }
wdl-engine = { path = "../wdl-engine", version = "0.0.0", optional = true }
# TODO: uncomment this when `wdl-engine` is ready for release
#wdl-engine = { path = "../wdl-engine", version = "0.0.0", optional = true }
tracing-subscriber = { workspace = true, optional = true }
clap = { workspace = true, optional = true }
anyhow = { workspace = true, optional = true }
Expand All @@ -36,14 +37,15 @@ anyhow = { workspace = true }
codespan-reporting = { workspace = true }

[features]
default = ["ast", "grammar", "lint", "format", "engine"]
default = ["ast", "grammar", "lint", "format"]
analysis = ["dep:wdl-analysis"]
ast = ["dep:wdl-ast"]
format = ["dep:wdl-format"]
grammar = ["dep:wdl-grammar"]
lint = ["dep:wdl-lint"]
lsp = ["dep:wdl-lsp"]
engine = ["dep:wdl-engine"]
# TOOD: uncomment this when `wdl-engine` is ready for release.
#engine = ["dep:wdl-engine"]
codespan = ["ast", "wdl-ast/codespan", "dep:codespan-reporting"]
cli = [
"analysis",
Expand Down
7 changes: 4 additions & 3 deletions wdl/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,10 @@ pub use wdl_analysis as analysis;
#[cfg(feature = "ast")]
#[doc(inline)]
pub use wdl_ast as ast;
#[cfg(feature = "engine")]
#[doc(inline)]
pub use wdl_engine as engine;
// TODO: uncomment this when wdl-engine is ready for release.
// #[cfg(feature = "engine")]
// #[doc(inline)]
// pub use wdl_engine as engine;
#[cfg(feature = "format")]
#[doc(inline)]
pub use wdl_format as format;
Expand Down

0 comments on commit 30dbb68

Please sign in to comment.