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