-
Support crate file deletion and modification.
-
Previously, Romt did not expect crates to be removed or modified once published; however, crates may in fact be removed from crates.io in certain circumstances, and after removal a crate may be re-published with a different hash.
-
Romt now properly handles deleted and modified crates via the newly added
romt crate prune
command (which is implied by theromt crate
commandsupdate
,export
, andimport
). See the "Crate file cleanup" section ofREADME.md
for information on cleaning up any modified or obsolete.crate
files in an existingcrates/
directory.
-
-
Enhance the
romt crate list
command:-
Support three methods of displaying crates:
crate@version
(the new default format).rel/path/to/crate-version.crate
(via--show-path
).<SHA256SUM> *rel/path/to/crate-version.crate
(via--show-hash
).
-
Also display removed crates with a leading
-
.
-
-
For
romt crate download
andromt crate verify
, rename the--good-paths
and--bad-paths
switches to be--good-crates
and--bad-crates
, and use the--show-path
and--show-hash
switches fromromt crate list
to control the output format. -
Support crate filtering via
--filter FILTER
and--filter-file FILTER_FILE
. This allows selective filtering of the crates implied by the RANGE of crates in the INDEX. Thus, for example, a single crate of a particular version may be downloaded, verified, listed, etc., e.g.:romt crate --start 0 --filter some_crate@1.2.3 list