/rusticisms

Exercisms in Rust

Primary LanguageRust

Rust Exercisms

Useful Commands

❯ cargo test
❯ cargo test -- --ignored

❯ exercism submit src/lib.rs Cargo.toml

# override with the nightly for current directory:
❯ rustup override set nightly

# verify the override:
❯ grep '\[overrides\]' -A 10 ~/.rustup/settings.toml
# OR: after `brew install python-yq`
❯ tomlq .overrides ~/.rustup/settings.toml
{
  "/Users/zeph/Exercism/rust/sublist": "nightly-aarch64-apple-darwin"
}

# for sublist (and others with benchmarks)
❯ cargo bench

Notes