analyze-rust-cargo-toml ( assoc -- )


Vocabulary
codebase-analyzer

Inputs
assocan object


Outputs
None

Definition


: analyze-rust-cargo-toml ( assoc -- )
[ print-rust-package ] keep [
"workspace" of "members" of length
[ " %d member projects" sprintf print ] unless-zero
] [
[
[ "package" of ] [ "workspace" of "package" of ] bi
assoc-union
] keep "workspace" of "members" of
[ "package: " write print print-rust-package ] with each
] bi ;