[PR #32] feature(metadata): get correct target dir when in workspace #34

Open
opened 2026-03-01 09:11:43 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fosskers/cargo-aur/pull/32
Author: @TotalKrill
Created: 3/15/2025
Status: 🔄 Open

Base: masterHead: correct_target_dir_in_workspace


📝 Commits (2)

  • 9c03cf1 feature(metadata): to work when a binary is in a workspace, use the cargo_metadata library to correctly get the expected target path
  • 18ce783 feat(workspace): separate the files into per package directories

📊 Changes

3 files changed (+20 additions, -5 deletions)

View changed files

📝 Cargo.toml (+1 -0)
📝 src/error.rs (+10 -0)
📝 src/main.rs (+9 -5)

📄 Description

Using cargo_metadata, will resolve the target directory better, when in a workspace or using custom configuruations otherwise for the package.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/fosskers/cargo-aur/pull/32 **Author:** [@TotalKrill](https://github.com/TotalKrill) **Created:** 3/15/2025 **Status:** 🔄 Open **Base:** `master` ← **Head:** `correct_target_dir_in_workspace` --- ### 📝 Commits (2) - [`9c03cf1`](https://github.com/fosskers/cargo-aur/commit/9c03cf15bdd1d0c809a9c5996ff2f7b5cbff1039) feature(metadata): to work when a binary is in a workspace, use the cargo_metadata library to correctly get the expected target path - [`18ce783`](https://github.com/fosskers/cargo-aur/commit/18ce78381bf8927700642f4e0d21aa4b190c5a37) feat(workspace): separate the files into per package directories ### 📊 Changes **3 files changed** (+20 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.toml` (+1 -0) 📝 `src/error.rs` (+10 -0) 📝 `src/main.rs` (+9 -5) </details> ### 📄 Description Using cargo_metadata, will resolve the target directory better, when in a workspace or using custom configuruations otherwise for the package. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-01 09:11:43 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/cargo-aur#34