Skip to content

Commit 239953e

Browse files
committed
build(Makefile): add cargo make
upgrade dependencies version
1 parent d5b8a13 commit 239953e

File tree

3 files changed

+42
-15
lines changed

3 files changed

+42
-15
lines changed

Cargo.lock

+12-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ edition = "2021"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77
[dependencies]
8-
anyhow = "1.0.80"
8+
anyhow = "1.0.81"
99
bytes = "1.5.0"
1010
futures = "0.3.30"
11-
log = "0.4.20"
12-
thiserror = "1.0.57"
11+
log = "0.4.21"
12+
thiserror = "1.0.58"
1313
tokio = { version = "1.36.0", features = [
1414
"io-util",
1515
"net",

Makefile.toml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
[tasks.format]
2+
install_crate = "rustfmt"
3+
command = "cargo"
4+
args = ["fmt", "--", "--emit=files"]
5+
dependencies = ["fix"]
6+
7+
[tasks.fix]
8+
command = "cargo"
9+
args = ["fix", "--allow-dirty", "--all-features"]
10+
11+
[tasks.clean]
12+
command = "cargo"
13+
args = ["clean"]
14+
15+
[tasks.build]
16+
command = "cargo"
17+
args = ["build", "--release"]
18+
dependencies = ["clean"]
19+
20+
[tasks.test]
21+
command = "cargo"
22+
args = ["test"]
23+
dependencies = ["clean"]
24+
25+
[tasks.dev]
26+
command = "cargo"
27+
args = ["watch", "-x", "'run'"]

0 commit comments

Comments
 (0)