Skip to content

Commit 383fd82

Browse files
committed
update
1 parent a79e6b1 commit 383fd82

File tree

3 files changed

+74
-0
lines changed

3 files changed

+74
-0
lines changed

Cargo.toml

+7
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,10 @@ edition = "2021"
66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

88
[dependencies]
9+
10+
11+
12+
[workspace]
13+
members = [
14+
# "packages/axum/axum-axum-v0.4.5",
15+
]

Readme.md

+17
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,23 @@
2525
- https://github.com/solana-labs/solana
2626
- 区块链
2727

28+
## 阅读环境:
29+
30+
- 搭建 rust 开发环境
31+
32+
### 阅读 axum:
33+
34+
> 安装依赖包:
35+
36+
- 依赖 go-task 工具(替代 Makefile)
37+
38+
```ruby
39+
40+
41+
task install
42+
43+
```
44+
2845
## ref:
2946

3047
- https://fancy.rs/

Taskfile.yml

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
version: "3"
2+
3+
#
4+
# sub namespace: https://taskfile.dev/#/usage?id=including-other-taskfiles
5+
#
6+
#includes:
7+
# rs:
8+
# taskfile: ./iDev/coding/rs/
9+
# dir: ./iDev/coding/rs/
10+
11+
#
12+
# global vars: https://taskfile.dev/#/usage?id=variables
13+
#
14+
vars:
15+
VAR1: "some-var"
16+
17+
# global env:
18+
env:
19+
ENV1: testing
20+
21+
# env file:
22+
dotenv:
23+
- .env
24+
25+
################################################################################################
26+
27+
tasks:
28+
default:
29+
cmds:
30+
- task: install
31+
- task: run
32+
33+
init:
34+
cmds:
35+
- cp .env.local .env
36+
37+
install:
38+
cmds:
39+
- cd packages/axum/axum-axum-v0.4.5/; cargo update
40+
41+
42+
push:
43+
cmds:
44+
- git push origin master --tags
45+
46+
############################################################################
47+
48+
49+
50+

0 commit comments

Comments
 (0)