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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
### https://github.com/sagiegurari/cargo-make
[]
= false
[]
#CARGO_TERM_COLOR = "always"
[]
= "test"
[]
= "llvm-cov"
[]
= "cargo"
= [ "t", "--doc" ]
[]
= "cargo" # cargo test -- --nocapture && cargo bench
# cargo t --doc && cargo nextest r && cargo bench #--no-capture
= [ "test-doc" ]
= [ "nextest", "r", #"--no-capture",
#"t", "--", "--nocapture",
] # https://nexte.st/index.html
[] # https://rust-fuzz.github.io/book/
= "fuzz"
= "cargo" # cargo +nightly fuzz run calc24
= "nightly"
= [ "fuzz", "run", "calc24" ]
[] # https://doc.rust-lang.org/stable/rustc/instrument-coverage.html
= "cargo"
= "nightly"
= { = "clang", = "clang++" }
# cargo +nightly llvm-cov --include-ffi --doctests #--lcov --output-path lcov.info #nextest
# cargo tarpaulin --run-types 'Tests,Doctests' --out Lcov --exclude-files 'inperse/src/*'
= [ "llvm-cov", "--doctests", #"--include-ffi",
"--lcov", "--output-path", "lcov.info", #"nextest",
] # https://github.com/taiki-e/cargo-llvm-cov
[]
#command = "codecov"
= [ "coverage" ]
= { = "b24b2436-512a-461e-9947-488213b27add" }
#args = [ "-t", "${CODECOV_TOKEN}", #"--url", "https://app.codecov.io/gh/mhfan/intvg"
#]
[] # https://github.com/flamegraph-rs/flamegraph
#command = "cargo"
#args = [ "flamegraph", "--bench", "engine_2d" ]
= [ "sudo cargo flamegraph --bench engine_2d" ]
[]
= "cargo" # cargo bench -F dhat-heap
= [ "bench", "-F", "dhat-heap", ]
[]
= "cargo" # cargo bench -F pprof
= [ "bench", "-F", "pprof", ]
[]
#command = "cargo"
#dependencies = [ "package" ]
= { = "--registry crates-io" }
#args = [ "publish", "--registry", "crates-io" ]
# cargo modules generate tree --package inrust --lib --with-types --with-tests