nrc1 1.0.0

First simple crate made by student
Documentation
  • Coverage
  • 0%
    0 out of 3 items documented0 out of 2 items with examples
  • Size
  • Source code size: 7.42 MB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.04 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 15s Average build duration of successful builds.
  • all releases: 15s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • rpertsov/nrc1
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • rpertsov

nrc1

First simple crate made by student.
Contains a library with basic functions: add, max, and an example of usage in a binary file.


How to launch

cargo run

You can also pass two numbers as arguments:

cargo run -- 2 3

Usage Example

use nrc1::{add, max};

fn main() {
    println!("2 + 3 = {}", add(2, 3));
    println!("max(5, 10) = {}", max(5, 10));
}

Testing

cargo test

License

MIT OR Apache-2.0