File tree 3 files changed +74
-0
lines changed
3 files changed +74
-0
lines changed Original file line number Diff line number Diff line change @@ -6,3 +6,10 @@ edition = "2021"
6
6
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
7
7
8
8
[dependencies ]
9
+
10
+
11
+
12
+ [workspace ]
13
+ members = [
14
+ # "packages/axum/axum-axum-v0.4.5",
15
+ ]
Original file line number Diff line number Diff line change 25
25
- https://github.com/solana-labs/solana
26
26
- 区块链
27
27
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
+
28
45
## ref:
29
46
30
47
- https://fancy.rs/
Original file line number Diff line number Diff line change
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
+
You can’t perform that action at this time.
0 commit comments