Skip to content

Commit

Permalink
feat: add ignore_unused (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
LYF1999 authored Oct 25, 2023
1 parent b6fbb8d commit cec30d0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion volo-build/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "volo-build"
version = "0.8.0"
version = "0.8.1"
edition.workspace = true
homepage.workspace = true
repository.workspace = true
Expand Down
5 changes: 5 additions & 0 deletions volo-build/src/workspace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,9 @@ where
self.pilota_builder = self.pilota_builder.plugin(plugin);
self
}

pub fn ignore_unused(mut self, ignore_unused: bool) -> Self {
self.pilota_builder = self.pilota_builder.ignore_unused(ignore_unused);
self
}
}

0 comments on commit cec30d0

Please sign in to comment.