Register snapshots
auto merge of #10000 : cmr/rust/snapshot, r=alexcrichton