loom

(★ 1,364)

if your name is not Geoffrey Huntley then do not use loom

파일 탐색기

  • .envrc
  • .gitignore
  • .pre-commit-config.yaml
  • AGENTS.md
  • Cargo.lock
  • Cargo.nix
  • Cargo.toml
  • CLAUDE.md
  • devenv.lock
  • devenv.nix
  • devenv.yaml
  • dprint.json
  • flake.lock
  • flake.nix
  • hidave.md
  • Makefile
  • motif.md
  • prompt.md
  • README.md
  • review.md
  • rustfmt.toml
  • shell.nix
  • TEST_PLAN.md
  • TODO.md
  • verification.md

# CDN으로 사용하기

jsDelivr

jsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.

명령어 용어집

이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.

🔍

cargo build

설명 보기 ▼

Compile a local package and all of its dependencies.

cargo {{[b|build]}}

Build the package or packages defined by the `Cargo.toml` manifest file in the local path:

cargo {{[b|build]}} {{[-r|--release]}}

Build artifacts in release mode, with optimizations:

cargo {{[b|build]}} --locked

Require that `Cargo.lock` is up to date:

🔍

cargo clippy

설명 보기 ▼

A collection of lints to catch common mistakes and improve your Rust code.

cargo clippy

Run checks over the code in the current directory:

cargo clippy --locked

Require that `Cargo.lock` is up to date:

cargo clippy --workspace

Run checks on all packages in the workspace:

🔍

cargo fmt

설명 보기 ▼

Run `rustfmt` on all source files in a Rust project.
See also: `rustfmt`.

cargo fmt

Format all source files:

cargo fmt --check

Check for formatting errors without writing to the files:

cargo fmt -- {{rustfmt_args}}

Pass arguments to each `rustfmt` call:

🔍

cargo test

설명 보기 ▼

Execute the unit and integration tests of a Rust package.

cargo {{[t|test]}} {{test_name}}

Only run tests containing a specific string in their names:

cargo {{[t|test]}} -- --test-threads {{count}}

Set the number of simultaneous running test cases:

cargo {{[t|test]}} {{[-r|--release]}}

Test artifacts in release mode, with optimizations:

🔍

nix build

설명 보기 ▼

Build a Nix expression (downloading from the cache when possible).
See also: `nix-build`, `nix flake`.

nix build {{nixpkgs#pkg}}

Build a package from nixpkgs, symlinking the result to `./result`:

nix build {{[-L|--print-build-logs]}} {{.#pkg}}

Build a package from a flake in the current directory, showing the build logs in the process:

nix build {{path/to/directory}}

Build the default package from a flake in some directory:

// repository documentation