https://github.com/kardbord/rust_practice
Misc. practice exercises in Rust.
https://github.com/kardbord/rust_practice
Last synced: 3 months ago
JSON representation
Misc. practice exercises in Rust.
- Host: GitHub
- URL: https://github.com/kardbord/rust_practice
- Owner: Kardbord
- License: unlicense
- Created: 2022-01-16T22:11:47.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-17T21:29:05.000Z (over 3 years ago)
- Last Synced: 2025-01-24T22:12:22.305Z (5 months ago)
- Language: Rust
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rust Practice
Miscellaneous practice exercises in Rust.
## Usage
Since I'll inevitably forget once I step away from Rust for a bit, here are some basic instructions for building, running, testing, benchmarking, etc.
More info is available with `cargo -h` or `cargo [CMD] -h`.### Check Compilation
```shell
cargo check
```### Run Tests
```shell
cargo test
```### Run Examples
```shell
cargo run --example [EXAMPLE-NAME]
```### Run Benchmarks
This cannot be run with stable Rust. Install nightly rust with `rustup install nightly`.
```shell
cargo +nightly bench
```