rutty
RuTTY - Rust TTY Server
File Explorer
- build.yml
- gh-pages.yml
- cli.rs
- command.rs
- main.rs
- server.rs
- websocket.rs
- .gitignore
- android-chrome-192x192.png
- android-chrome-384x384.png
- apple-touch-icon.png
- favicon-16x16.png
- favicon-32x32.png
- favicon.ico
- site.webmanifest
- terminal.png
- .gitignore
- .parcelrc
- favicon.ico
- index.html
- package.json
- styles.css
- tsconfig.json
- yarn.lock
- android-chrome-192x192.png
- android-chrome-384x384.png
- apple-touch-icon.png
- favicon-16x16.png
- favicon-32x32.png
- site.webmanifest
- terminal.png
- styles.css
- app.ts
- status.ts
- websocket-addon.ts
- .gitignore
- .parcelrc
- .proxyrc
- favicon.ico
- index.html
- package.json
- tsconfig.json
- yarn.lock
- .gitignore
- build.rs
- Cargo.lock
- Cargo.toml
- LICENSE
- Makefile
- README.md
- rustfmt.toml
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
cargo install
View Details ▼
cargo install
Build and install a Rust binary.
cargo install {{package}}@{{version}}
Install a package from <https://crates.io> (the version is optional - latest by default):
cargo install --git {{repo_url}}
Install a package from the specified Git repository:
cargo install --git {{repo_url}} --{{branch|tag|rev}} {{branch_name|tag|commit_hash}}
Build from the specified branch/tag/commit when installing from a Git repository:
cargo run
View Details ▼
cargo run
Run the current Cargo package.
Note: The working directory of the executed binary will be set to the current working directory.
cargo {{[r|run]}}
Run the default binary target:
cargo {{[r|run]}} --bin {{name}}
Run the specified binary:
cargo {{[r|run]}} --example {{name}}
Run the specified example:
node
View Details ▼
node
Server-side JavaScript platform (Node.js).
node {{path/to/file}}
Run a JavaScript file:
node
Start a REPL (interactive shell):
node --watch {{path/to/file}}
Execute the specified file restarting the process when an imported file is changed (requires Node.js version 18.11+):
yarn
View Details ▼
yarn
JavaScript and Node.js package manager alternative.
yarn global add {{module_name}}
Install a module globally:
yarn install
Install all dependencies referenced in the `package.json` file (the `install` is optional):
yarn add {{module_name}}@{{version}}
Install a module and save it as a dependency to the `package.json` file (add `--dev` to save as a dev dependency):
