Start:
- Optional on Windows: install msvc build tool
- install rustup
- install rust-toolchains
cargo install cargo-make
cargo install clippy
- Optional:
cargo install flamegraph
- install kroki cli
docker pull docker.udayun.com/yuzutech/kroki:latest
docker run -p8000:8000 yuzutech/kroki
- install texlive and install missing packages (local or docker)
cargo make all
编译论文:
cargo make paper
仅编译论文图片:
cargo make fig
编译库:
cargo make release
运行测试:
cargo make test
运行benchmark和指标输出:
cargo make bench
编译测试但不进行指标计算:
cargo make all_build
全部执行:
cargo make all
输出位置:
- 论文图片(原始): ./paper/assets/figures/original/
- 论文图片(最小化svg): ./paper/assets/figures/
- 论文: ./paper/builds/
- 库二进制文件(debug): ./target/debug/
- 库二进制文件(release): ./target/release/
- 测试结果和指标输出: ./target/criterion/