2 个版本
0.1.1 | 2024 年 8 月 2 日 |
---|---|
0.1.0 | 2023 年 11 月 2 日 |
#551 in 开发工具
每月 106 次下载
9KB
133 代码行
内联 Crate
一个小型辅助工具,可以将整个 Rust crate 内联到单个文件中
安装
cargo install inline-crate --locked
用法
$ inline-crate --help
Inline an entire crate into a single file
Aimed at making it easy to distribute reproducers, or run minimizers.
If an output path is passed, then outputs to the file, otherwise outputs to stdout.
Usage: inline-crate [OPTIONS] <CRATE_ROOT> [OUTPUT_FILE]
Arguments:
<CRATE_ROOT>
The input crate root
[OUTPUT_FILE]
The output file (default: stdout)
Options:
-v, --verbose
Print verbose output
--ignore-missing
Ignore missing modules
-f, --force
Force writing, even if the file exists
-h, --help
Print help (see a summary with '-h')
-V, --version
Print version
许可证
依赖项
~3.5MB
~37K SLoC