Impact: the packaged source code would be larger (with respect to the size of the codebase), but the dependencyDepth hints can be used by downstream applications to filter out some files. E.g. MultiversX Explorer already leverages dependencyDepth to filter files on the Verified Contract / Code tab.
In https://github.com/multiversx/mx-sdk-rust-contract-builder/pull/44, we allow one to optionally package the whole Cargo project. In the near future, we should forbid the alternative.
Impact: the packaged source code would be larger (with respect to the size of the codebase), but the
dependencyDepth
hints can be used by downstream applications to filter out some files. E.g. MultiversX Explorer already leveragesdependencyDepth
to filter files on the Verified Contract / Code tab.