This is my leetcode solutions with rust.
Some rust script from here. Thanks to aylei.
// list problems
yarn list
// generate template
yarn gen 1
// submit
yarn submit ./contests/1.two-sum.js
// generate rust template with test
cargo run 1
// same as javascript