Consider using cargo-util-schemas to parse Cargo.toml #7811
Rustin170506
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Using the same logic as cargo generally makes sense to me. cargo-manifest however does have some functionality to e.g. find bins from the filesystem that are not explicitly declared in the manifest. While we are not using this functionality yet, people have been asking us to display binary crates differently from library crates, and to implement that we will need this kind of binary detection. We could also build it on top of |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Consider using
cargo-util-schemas
from the cargo repo.We are currently using https://github.com/LukeMathWalker/cargo-manifest to parse the
Cargo.toml
. The Cargo team is planning to release thecargo-util-schemas
. Using the same library from Cargo directly would help us keep using the sameCargo.toml
schema from Cargo.If it's OK, I am willing to help verify that we can use it and migrate to using it.
Beta Was this translation helpful? Give feedback.
All reactions