[GH-ISSUE #27] Fails for singular author #11

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

Originally created by @xeruf on GitHub (Jul 25, 2024).
Original GitHub issue: https://github.com/fosskers/cargo-aur/issues/27

https://github.com/Colonial-Dev/vcard-qr

❯ cargo aur
:: Error: TOML parse error at line 1, column 1
  |
1 | [package]
  | ^^^^^^^^^
missing field `authors`
```
I had to rename `author` and turn it into an array, maybe that can be supported?
Originally created by @xeruf on GitHub (Jul 25, 2024). Original GitHub issue: https://github.com/fosskers/cargo-aur/issues/27 https://github.com/Colonial-Dev/vcard-qr ```` ❯ cargo aur :: Error: TOML parse error at line 1, column 1 | 1 | [package] | ^^^^^^^^^ missing field `authors` ``` I had to rename `author` and turn it into an array, maybe that can be supported?
Author
Owner

@fosskers commented on GitHub (Jul 25, 2024):

As far as I can tell, the official field name is a plural authors: https://doc.rust-lang.org/cargo/reference/manifest.html#the-authors-field

@fosskers commented on GitHub (Jul 25, 2024): As far as I can tell, the official field name is a plural `authors`: https://doc.rust-lang.org/cargo/reference/manifest.html#the-authors-field
Author
Owner

@xeruf commented on GitHub (Jul 25, 2024):

You are correct, adjusted the package

@xeruf commented on GitHub (Jul 25, 2024): You are correct, adjusted the package
Author
Owner

@horberlan commented on GitHub (May 21, 2025):

Warning: This field is deprecated
@horberlan commented on GitHub (May 21, 2025): Warning: This field is deprecated
Author
Owner

@fosskers commented on GitHub (May 21, 2025):

@horberlan Can you be a bit more specific?

@fosskers commented on GitHub (May 21, 2025): @horberlan Can you be a bit more specific?
Author
Owner

@horberlan commented on GitHub (May 21, 2025):

Hi @fosskers! autors field is deprecated: https://doc.rust-lang.org/cargo/reference/manifest.html#the-authors-field
maybe another way to link authors?

@horberlan commented on GitHub (May 21, 2025): Hi @fosskers! autors field is deprecated: https://doc.rust-lang.org/cargo/reference/manifest.html#the-authors-field maybe another way to link authors?
Author
Owner

@fosskers commented on GitHub (May 22, 2025):

is deprecated

Hm, in favour of what, I wonder? They don't mention an alternative.

@fosskers commented on GitHub (May 22, 2025): > is deprecated Hm, in favour of what, I wonder? They don't mention an alternative.
GiteaMirror changed title from Fails for singular author to [GH-ISSUE #27] Fails for singular author 2026-04-11 05:42:39 -05:00
Author
Owner

@GeoffClements commented on GitHub (Mar 19, 2026):

When creating a debian package, under package.metadata.deb, it is possible to have a maintainer field. Perhaps something similar could be used here?

<!-- gh-comment-id:4091553794 --> @GeoffClements commented on GitHub (Mar 19, 2026): When creating a debian package, under `package.metadata.deb`, it is possible to have a `maintainer` field. Perhaps something similar could be used here?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/cargo-aur#11