-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (30 loc) · 781 Bytes
/
Makefile
File metadata and controls
40 lines (30 loc) · 781 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Run rust examples
.PHONY: tracing
# clap:
# cargo run --example clap -- $(ARGS) # USAGE: make clap ARGS="--help"
# subcommand:
# cargo run --example subcommand -- $(ARGS)
# mode:
# cargo run --example mode -- $(ARGS)
# validated_values:
# cargo run --example validated_values -- $(ARGS)
# text-cli:
# cargo run --example text_cli -- $(ARGS)
# async:
# cargo run --example async
# async2:
# cargo run --example async2
# axum:
# cargo run --example axum
# thread:
# cargo run --example thread
# run:
# @cargo run -- $(ARGS)
# run_with_log:
# @RUST_LOG=info cargo run -- $(ARGS)
tracing_info:
@RUST_LOG=info cargo run --example tracing
tracing_trace:
@RUST_LOG=trace cargo run --example tracing
axum_tracing:
@RUST_LOG=info cargo run --example axum_tracing