File tree 1 file changed +6
-3
lines changed 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,15 @@ title: "14. More about Cargo and Crates.io"
4
4
---
5
5
6
6
# Learning Objectives
7
+
8
+ ::: nonincremental
7
9
- Learn more about Cargo's advanced features:
8
10
- Customizing builds with release profiles.
9
11
- Publishing libraries to [ crates.io] ( https://crates.io/ ) .
10
12
- Managing multi-crate projects with workspaces.
11
13
- Installing binaries using Cargo.
12
14
- Extending Cargo with custom commands.
15
+ :::
13
16
14
17
# Customizing Builds with Release Profiles
15
18
@@ -27,8 +30,8 @@ opt-level = 0
27
30
opt-level = 3
28
31
```
29
32
- ` opt-level ` : Optimization levels (0-3).
30
- - Development: Minimize build time.
31
- - Production: Maximize runtime performance.
33
+ - * Development* : Minimize build time.
34
+ - * Production* : Maximize runtime performance.
32
35
33
36
# Publishing a Crate to Crates.io
34
37
## Steps to Publish
@@ -44,7 +47,7 @@ license = "MIT OR Apache-2.0"
44
47
4 . Run Publish: ` cargo publish ` .
45
48
46
49
## Important Notes
47
- - Published versions are permanent.
50
+ - Published versions are * permanent* .
48
51
- You can "yank" a version to prevent new dependencies but retain existing ones.
49
52
50
53
# Writing Documentation for Crates
You can’t perform that action at this time.
0 commit comments