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