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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/fosskers/cargo-aur/pull/32
Author: @TotalKrill
Created: 3/15/2025
Status: 🔄 Open
Base:
master← Head:correct_target_dir_in_workspace📝 Commits (2)
9c03cf1feature(metadata): to work when a binary is in a workspace, use the cargo_metadata library to correctly get the expected target path18ce783feat(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.