rutty
RuTTY - Rust TTY Server
파일 탐색기
- 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
# CDN으로 사용하기
jsDelivrjsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.
명령어 용어집
이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.
cargo install
설명 보기 ▼
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
설명 보기 ▼
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
설명 보기 ▼
node
서버 측 JavaScript 플랫폼 (Node.js).
더 많은 정보: <https://nodejs.org/docs/latest/api/cli.html#options>.
node {{path/to/file}}
JavaScript 파일 실행:
node
REPL(대화형 셸) 시작:
node --watch {{path/to/file}}
지정된 파일을 실행하고 가져온 파일이 변경될 때 프로세스를 재시작 (Node.js 버전 18.11+ 필요):
yarn
설명 보기 ▼
yarn
JavaScript 및 Node.js 패키지 대체 관리자.
더 많은 정보: <https://yarnpkg.com/cli>.
yarn global add {{module_name}}
전역적으로 모듈 설치:
yarn install
`package.json` 파일에 참조된 모든 의존성을 설치 ( `install`은 선택 사항입니다):
yarn add {{module_name}}@{{version}}
모듈을 설치하고 `package.json` 파일에 대한 의존성으로 저장 (개발 전용 의존성으로 추가하려면 `--dev` 추가):
