Register snapshots
auto merge of #6635 : brson/rust/snapshot, r=brson