| Crates.io | cargo_author |
| lib.rs | cargo_author |
| version | 1.0.7 |
| created_at | 2018-06-15 13:45:08.794994+00 |
| updated_at | 2023-12-08 00:15:40.12981+00 |
| description | Parse author fields (name |
| homepage | https://lib.rs/crates/cargo_author |
| repository | https://gitlab.com/lib.rs/cargo_author |
| max_upload_size | |
| id | 70230 |
| size | 6,865 |
Cargo.toml and similarThis 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).