Describe the feature
Many questions are posted regarding which files are uploaded to Shuttle.
The answer is quite simple (This should be listed in the docs btw), but it is hard to verify exactly which files are uploaded. The code for handling this is in an obscure place and not very straight forward.
Therefore, either cargo-shuttle or the logs from deployment should log all files that were included in the archive, i.e. either when making the archive or unpacking it.
Perhaps this will spam the logs a bit, so perhaps a --verbose flag could be introduced for deployments?
Alternatively, it could be a development build logging feature.
Suggestion or Example of how the feature would be used
Packing file .gitignore
Packing file Cargo.toml
...
Packing file src/main.rs
...
Duplicate declaration
Describe the feature
Many questions are posted regarding which files are uploaded to Shuttle.
The answer is quite simple (This should be listed in the docs btw), but it is hard to verify exactly which files are uploaded. The code for handling this is in an obscure place and not very straight forward.
Therefore, either cargo-shuttle or the logs from deployment should log all files that were included in the archive, i.e. either when making the archive or unpacking it.
Perhaps this will spam the logs a bit, so perhaps a
--verboseflag could be introduced for deployments?Alternatively, it could be a development build logging feature.
Suggestion or Example of how the feature would be used
Packing file .gitignore
Packing file Cargo.toml
...
Packing file src/main.rs
...
Duplicate declaration