[GH-ISSUE #38] missing field package #14

Closed
opened 2026-03-01 09:11:09 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @TornaxO7 on GitHub (Nov 26, 2025).
Original GitHub issue: https://github.com/fosskers/cargo-aur/issues/38

Hi!
If I run cargo aur -d on my project TornaxO7/vibe, then I'm getting the following error message:

bash
:: Error: TOML parse error at line 1, column 1
  |
1 | [workspace]
  | ^
missing field `package`

I tried to add a [workspace.package] in the root Cargo.toml but I was still getting this error. Do you have any tips on why I'm getting this error message?

Originally created by @TornaxO7 on GitHub (Nov 26, 2025). Original GitHub issue: https://github.com/fosskers/cargo-aur/issues/38 Hi! If I run `cargo aur -d` on my project [TornaxO7/vibe](https://github.com/TornaxO7/vibe), then I'm getting the following error message: ``` bash :: Error: TOML parse error at line 1, column 1 | 1 | [workspace] | ^ missing field `package` ``` I tried to add a `[workspace.package]` in the root `Cargo.toml` but I was still getting this error. Do you have any tips on why I'm getting this error message?
Author
Owner

@fosskers commented on GitHub (Jan 13, 2026):

Please forgive the delay.

It probably wants you to run cargo aur within the subdirectory of the package you're building, not at the workspace level.

@fosskers commented on GitHub (Jan 13, 2026): Please forgive the delay. It probably wants you to run `cargo aur` within the subdirectory of the package you're building, not at the workspace level.
Author
Owner

@TornaxO7 commented on GitHub (Jan 14, 2026):

No worries.
I'm not using it anymore though so I'll close this.

@TornaxO7 commented on GitHub (Jan 14, 2026): No worries. I'm not using it anymore though so I'll close this.
GiteaMirror changed title from missing field `package` to [GH-ISSUE #38] missing field `package` 2026-04-11 05:42:43 -05: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#14