`cargo publish` omit some source code

⚓ rust    📅 2025-05-22    👤 surdeus    👁️ 5      

surdeus

Warning

This post was published 38 days ago. The information described in this article may have changed.

Hello, I am having a couple of very heavy git submodules (120M) in the tree and cargo publish wants to publish them as the source code, which inevitably fails with error (it has 10M limit). Reading cargo publish --help I didn't find anything useful. What can I do? I extremely don't want to remove those submodules and make a dirty publish each time..

4 posts - 3 participants

Read full topic

🏷️ rust_feed