this post was submitted on 08 Oct 2024
        
      
      7 points (88.9% liked)
      Programmer Humor
    27113 readers
  
      
      1252 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
        founded 2 years ago
      
      MODERATORS
      
    you are viewing a single comment's thread
view the rest of the comments
    view the rest of the comments
 
          
          
What packaging types are there for Rust? Isn't everything just source-based through cargo?
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 sqlxThey 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