1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/// Adds two numbers together.
///
/// # Examples
///
/// ```
/// let sum = second_class::add(2, 3);
/// assert_eq!(sum, 5);
/// ```
// cargo new cargo_demo
//cargo add --help
//cargo publish --help
//
//
//
//
//
//
/*
carte publishing
cargo doc --open
https://doc.rust-lang.org/rustdoc/how-to-write-documentation.html
cargo build --release
login with github
go to settings
create a token
copy token
cargo login copy tokan
*/