~/talk

Publishing High-Quality Crates

Talkat EuroRust 2023 · 2023-10-12..10-13· [rust]
links:none on file
slides:none on file

Walks through concrete practices: use cargo-semver-checks to detect API breakage, run Miri in CI for unsafe code, and instrument releases with Git tags and a changelog. Covers real choices like slices vs Vec and str vs String vs Cow, when to prefer enums over traits, when unsafe is justified (example: benchmarking library Divan), and how to test docs, examples/, and multi-platform builds so published crates are actually maintainable.

AI-written summary · about

  1. 0:00Rust library publishing intro
  2. 1:46Borrowing vs ownership in Rust APIs
  3. 4:50String vs string slice design
  4. 6:13Metaprogramming in Rust
  5. 9:27Traits vs enums for APIs
  6. 11:31Foreign function interface challenges
  7. 13:19Performance and unsafe code
  8. 15:50Testing and docs best practices
  9. 19:23CI for Rust libraries
  10. 20:26Publishing first Rust crate
  11. 21:51Semantic versioning in Rust
  12. 23:56API compatibility checks
  13. 25:01Minimum supported Rust version policies
  14. 26:05Maintaining Rust libraries
  15. 27:53Closing remarks
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.