https://github.com/shmuelmofrad/rustack
This is a rust-devstack
https://github.com/shmuelmofrad/rustack
devcontainer devcontainer-template rust rust-lang
Last synced: 4 months ago
JSON representation
This is a rust-devstack
- Host: GitHub
- URL: https://github.com/shmuelmofrad/rustack
- Owner: ShmuelMofrad
- License: mit
- Created: 2024-03-20T20:50:55.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-21T12:03:41.000Z (over 1 year ago)
- Last Synced: 2025-09-01T08:01:47.098Z (5 months ago)
- Topics: devcontainer, devcontainer-template, rust, rust-lang
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rustack
This is a rust-devstack
## useful commands:
Rust's package manager
- **cargo**:
- Create a new cargo package `cargo new`
- Compile the current package `cargo build`
- Run a binary or example of the local package `cargo run`
- help `cargo --help`
```
Commands:
build, b Compile the current package
check, c Analyze the current package and report errors, but don't build object files
clean Remove the target directory
doc, d Build this package's and its dependencies' documentation
new Create a new cargo package
init Create a new cargo package in an existing directory
add Add dependencies to a manifest file
remove Remove dependencies from a manifest file
run, r Run a binary or example of the local package
test, t Run the tests
bench Run the benchmarks
update Update dependencies listed in Cargo.lock
search Search registry for crates
publish Package and upload this package to the registry
install Install a Rust binary
uninstall Uninstall a Rust binary
... See all commands with --list
```
The Rust toolchain installer
- **rustup**:
```
Commands:
show Show the active and installed toolchains or profiles
update Update Rust toolchains and rustup
check Check for updates to Rust toolchains and rustup
default Set the default toolchain
toolchain Modify or query the installed toolchains
target Modify a toolchain's supported targets
component Modify a toolchain's installed components
override Modify toolchain overrides for directories
run Run a command with an environment configured for a given toolchain
which Display which binary will be run for a given command
doc Open the documentation for the current toolchain
self Modify the rustup installation
set Alter rustup settings
completions Generate tab-completion scripts for your shell
help Print this message or the help of the given subcommand(s)
```
## useful websites:
- [rust-lang.org](https://www.rust-lang.org/)
- [crates.io](https://crates.io/)
- [github.com/rust-lang](https://github.com/rust-lang)
**Learn**
- [rust-lang/learn](https://www.rust-lang.org/learn)
- [rust-lang/book](https://doc.rust-lang.org/book/)
- [doc-rust-lang](https://doc.rust-lang.org/stable/)
- [rustlings](https://github.com/rust-lang/rustlings/)
- [rust-by-example](https://doc.rust-lang.org/rust-by-example/)