{"id":16865936,"url":"https://github.com/lukemathwalker/cargo-manifest","last_synced_at":"2026-03-03T02:32:14.001Z","repository":{"id":40697076,"uuid":"306486343","full_name":"LukeMathWalker/cargo-manifest","owner":"LukeMathWalker","description":"Fork to fix some serialization issues.","archived":false,"fork":false,"pushed_at":"2025-01-28T20:21:31.000Z","size":251,"stargazers_count":14,"open_issues_count":2,"forks_count":16,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-31T08:12:27.220Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LukeMathWalker.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-23T00:03:26.000Z","updated_at":"2025-01-16T06:45:28.000Z","dependencies_parsed_at":"2024-06-20T21:07:24.165Z","dependency_job_id":"c0f594bc-1670-417d-88e3-578f60bd5d15","html_url":"https://github.com/LukeMathWalker/cargo-manifest","commit_stats":{"total_commits":159,"total_committers":22,"mean_commits":"7.2272727272727275","dds":0.7044025157232705,"last_synced_commit":"6699c632acde6b586acbb3e578b4cfcdbc3c4266"},"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukeMathWalker%2Fcargo-manifest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukeMathWalker%2Fcargo-manifest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukeMathWalker%2Fcargo-manifest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukeMathWalker%2Fcargo-manifest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LukeMathWalker","download_url":"https://codeload.github.com/LukeMathWalker/cargo-manifest/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247208151,"owners_count":20901570,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T14:48:55.555Z","updated_at":"2026-03-03T02:32:13.970Z","avatar_url":"https://github.com/LukeMathWalker.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"cargo-manifest\n==============================================================================\n\n[`serde`](https://serde.rs) definitions to read and write\n[`Cargo.toml`](https://doc.rust-lang.org/cargo/reference/manifest.html) files.\n\n\nDescription\n------------------------------------------------------------------------------\n\nThis Rust crate contains various structs and enums to represent the contents of\na `Cargo.toml` file. These definitions can be used with [`serde`](https://serde.rs)\nand the [`toml`](https://crates.io/crates/toml) crate to read and write\n`Cargo.toml` manifest files.\n\nThis crate also to some degree supports post-processing of the data to emulate\nCargo's workspace inheritance and `autobins` features. This is used for example\nby crates.io to extract whether a crate contains a library or executable\nbinaries.\n\n\u003e [!NOTE]\n\u003e The cargo team regularly adds new features to the `Cargo.toml` file\n\u003e definition. This crate aims to keep up-to-date with these changes. You should\n\u003e keep this crate up-to-date to correctly parse all fields in modern\n\u003e `Cargo.toml` files.\n\n\nInstallation\n------------------------------------------------------------------------------\n\n```sh\ncargo add cargo-manifest\n```\n\n\nUsage\n------------------------------------------------------------------------------\n\n```rust\nuse cargo_manifest::Manifest;\n\nlet manifest = Manifest::from_path(\"Cargo.toml\").unwrap();\n```\n\nsee [docs.rs](https://docs.rs/cargo-manifest) for more information.\n\n\nUsers\n------------------------------------------------------------------------------\n\n- [cargo-chef](https://crates.io/crates/cargo-chef)\n- [crates.io](https://github.com/rust-lang/crates.io) is using this crate for\n  server-side validation of `Cargo.toml` files.\n\n\nAlternatives\n------------------------------------------------------------------------------\n\nThis crate is a fork of the [`cargo_toml`](https://crates.io/crates/cargo_toml)\nproject. There are only some minor differences between these projects at this\npoint, you will need to evaluate which one fits your needs better.\n\nThere is also [`cargo-util-schemas`](https://crates.io/crates/cargo-util-schemas)\nnow, which is maintained by the cargo team themselves. This crate was extracted\nfrom the cargo codebase and is used inside the `cargo` binary itself. It is\nkept up-to-date with the latest changes to the `Cargo.toml` file format, but is\ncurrently lacking some of the post-processing features that `cargo-manifest`\nprovides.\n\n\nLicense\n------------------------------------------------------------------------------\n\nThis project is licensed under either of\n\n- Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or\n  \u003chttp://www.apache.org/licenses/LICENSE-2.0\u003e)\n\n- MIT license ([LICENSE-MIT](LICENSE-MIT) or\n  \u003chttp://opensource.org/licenses/MIT\u003e)\n\nat your option.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukemathwalker%2Fcargo-manifest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flukemathwalker%2Fcargo-manifest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukemathwalker%2Fcargo-manifest/lists"}