Skip to content

Instantly share code, notes, and snippets.

@cgalvist
Created June 5, 2024 20:15
Show Gist options
  • Save cgalvist/aeb4047514b3397b06258d8e2968c5c9 to your computer and use it in GitHub Desktop.
Save cgalvist/aeb4047514b3397b06258d8e2968c5c9 to your computer and use it in GitHub Desktop.
Rust commands

Rust commands

# Create workspace
echo '[workspace]' > Cargo.toml
# Create library
cargo new --lib crates/$LIB_NAME
# Create project
cargo new crates/$PROJECT_NAME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment