| Crates.io | nrc1 |
| lib.rs | nrc1 |
| version | 1.0.0 |
| created_at | 2025-10-21 18:19:37.090085+00 |
| updated_at | 2025-10-21 18:19:37.090085+00 |
| description | First simple crate made by student |
| homepage | |
| repository | https://github.com/rpertsov/nrc1 |
| max_upload_size | |
| id | 1894235 |
| size | 7,423,450 |
First simple crate made by student.
Contains a library with basic functions: add, max, and an example of usage in a binary file.
cargo run
You can also pass two numbers as arguments:
cargo run -- 2 3
use nrc1::{add, max};
fn main() {
println!("2 + 3 = {}", add(2, 3));
println!("max(5, 10) = {}", max(5, 10));
}
cargo test
MIT OR Apache-2.0