this post was submitted on 08 Oct 2024
94 points (92.7% liked)

Programmer Humor

19638 readers
1920 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] KindaABigDyl 16 points 1 month ago (1 children)

What packaging types are there for Rust? Isn't everything just source-based through cargo?

[โ€“] [email protected] 15 points 1 month ago

I think they are referring to crates vs binaries vs cargo binaries.

Crates are your libraries, not meant to be standalone, binaries are your .exe, cargo binaries are meant to be compiled by cargo on your machine and run through cargo, ex: cargo sqlx

They might also refer test binaries and example binaries which are two executables that only compile the tesrs and the examples to make sure they work, but apart from that idk