diff options
Diffstat (limited to 'virtual')
-rw-r--r-- | virtual/rust/rust-1.52.1.ebuild | 6 | ||||
-rw-r--r-- | virtual/rust/rust-1.53.0.ebuild | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/virtual/rust/rust-1.52.1.ebuild b/virtual/rust/rust-1.52.1.ebuild index d19c6c4beec2..b6e4774761b8 100644 --- a/virtual/rust/rust-1.52.1.ebuild +++ b/virtual/rust/rust-1.52.1.ebuild @@ -10,6 +10,10 @@ DESCRIPTION="Virtual for Rust language compiler" LICENSE="" SLOT="0" KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86" +IUSE="rustfmt" BDEPEND="" -RDEPEND="|| ( ~dev-lang/rust-${PV}[${MULTILIB_USEDEP}] ~dev-lang/rust-bin-${PV}[${MULTILIB_USEDEP}] )" +RDEPEND="|| ( + ~dev-lang/rust-${PV}[rustfmt?,${MULTILIB_USEDEP}] + ~dev-lang/rust-bin-${PV}[rustfmt?,${MULTILIB_USEDEP}] +)" diff --git a/virtual/rust/rust-1.53.0.ebuild b/virtual/rust/rust-1.53.0.ebuild index f30cb07276fb..71097098faf9 100644 --- a/virtual/rust/rust-1.53.0.ebuild +++ b/virtual/rust/rust-1.53.0.ebuild @@ -10,6 +10,10 @@ DESCRIPTION="Virtual for Rust language compiler" LICENSE="" SLOT="0" KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 ~riscv x86" +IUSE="rustfmt" BDEPEND="" -RDEPEND="|| ( ~dev-lang/rust-${PV}[${MULTILIB_USEDEP}] ~dev-lang/rust-bin-${PV}[${MULTILIB_USEDEP}] )" +RDEPEND="|| ( + ~dev-lang/rust-${PV}[rustfmt,${MULTILIB_USEDEP}] + ~dev-lang/rust-bin-${PV}[rustfmt,${MULTILIB_USEDEP}] +)" |