5
Packaging (lemmy.world)
you are viewing a single comment's thread
view the rest of the comments
[-] KindaABigDyl@programming.dev 2 points 2 months ago

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

[-] RustyNova@lemmy.world 3 points 2 months 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

this post was submitted on 08 Oct 2024
5 points (85.7% liked)

Programmer Humor

19821 readers
723 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 2 years ago
MODERATORS