Skip to content

Commit deada3b

Browse files
committed
style ch. 14
1 parent a32bc66 commit deada3b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

slides/14-more_about_cargo_and_cratesio.qmd

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,15 @@ title: "14. More about Cargo and Crates.io"
44
---
55

66
# Learning Objectives
7+
8+
::: nonincremental
79
- Learn more about Cargo's advanced features:
810
- Customizing builds with release profiles.
911
- Publishing libraries to [crates.io](https://crates.io/).
1012
- Managing multi-crate projects with workspaces.
1113
- Installing binaries using Cargo.
1214
- Extending Cargo with custom commands.
15+
:::
1316

1417
# Customizing Builds with Release Profiles
1518

@@ -27,8 +30,8 @@ opt-level = 0
2730
opt-level = 3
2831
```
2932
- `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.
3235

3336
# Publishing a Crate to Crates.io
3437
## Steps to Publish
@@ -44,7 +47,7 @@ license = "MIT OR Apache-2.0"
4447
4. Run Publish: `cargo publish`.
4548

4649
## Important Notes
47-
- Published versions are permanent.
50+
- Published versions are *permanent*.
4851
- You can "yank" a version to prevent new dependencies but retain existing ones.
4952

5053
# Writing Documentation for Crates

0 commit comments

Comments
 (0)