Skip to content

Commit

Permalink
chore: sort deps
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisGorbachev committed Aug 24, 2024
1 parent a5e8257 commit 9fa8180
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "create-rust-github-repo"
description = "`create-rust-github-repo` is a CLI program that creates a new repository on GitHub, clones it locally, initializes a Rust project, copies the configs from a pre-existing directory."
version = "0.5.3"
edition = "2021"
description = "`create-rust-github-repo` is a CLI program that creates a new repository on GitHub, clones it locally, initializes a Rust project, copies the configs from a pre-existing directory."
license = "Apache-2.0 OR MIT"
homepage = "https://github.com/DenisGorbachev/create-rust-github-repo"
repository = "https://github.com/DenisGorbachev/create-rust-github-repo"
Expand All @@ -19,6 +19,6 @@ announcement = ""
[dependencies]
anyhow = "1.0.86"
clap = { version = "4.3.24", features = ["derive", "env"] }
derive_setters = "0.1.6"
derive-new = "0.6.0"
derive_setters = "0.1.6"
fs_extra = "1.3.0"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ create-rust-github-repo --name my-new-project --project-init-cmd "cargo init --l
## Installation

```shell
cargo install create-rust-github-repo
cargo install --locked create-rust-github-repo
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion README.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ ${doc.stdout.trim()}
## Installation
\`\`\`shell
cargo install ${name}
cargo install --locked ${name}
\`\`\`
## Usage
Expand Down
3 changes: 2 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ npm install --global \
@commitlint/[email protected]

cargo install --git https://github.com/DenisGorbachev/cargo-doc2readme --branch dev
cargo install cargo-machete
cargo install cargo-machete --locked
cargo install cargo-hack --locked
cargo install cargo-sort --locked

# Install yj
curl -L https://github.com/sclevine/yj/releases/download/v5.1.0/yj-linux-amd64 -o /tmp/yj
Expand Down
2 changes: 2 additions & 0 deletions lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ pre-commit:
run: remark --ignore-path .gitignore --quiet --frail --no-stdout .
test-docs:
run: cargo test --doc
sort-deps:
run: cargo sort
lint-deps:
run: cargo machete --with-metadata
commit-msg:
Expand Down
1 change: 1 addition & 0 deletions rustfmt.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ max_width = 100500
chain_width = 60
array_width = 60
struct_lit_width = 0
merge_derives = false

0 comments on commit 9fa8180

Please sign in to comment.