cargo_author

Crates.iocargo_author
lib.rscargo_author
version1.0.7
sourcesrc
created_at2018-06-15 13:45:08.794994
updated_at2023-12-08 00:15:40.12981
descriptionParse author fields (name (url)) used by Cargo and npm
homepagehttps://lib.rs/crates/cargo_author
repositoryhttps://gitlab.com/lib.rs/cargo_author
max_upload_size
id70230
size6,865
Kornel (kornelski)

documentation

https://docs.rs/cargo_author

README

Parse authors in Cargo.toml and similar

This parses names in the format Name <email> (url) used in Cargo.toml metadata (also in npm).

This crate tries to parse any field in any order and to fix common errors to salvage as much data as possible.

To read the authors key from Cargo.toml you'll need cargo_toml crate. Once you have the author names, parse them by calling Author::new(string).

Commit count: 21

cargo fmt