https://github.com/jaybosamiya/inline-crate
Inline an entire crate into a single file
https://github.com/jaybosamiya/inline-crate
Last synced: 11 months ago
JSON representation
Inline an entire crate into a single file
- Host: GitHub
- URL: https://github.com/jaybosamiya/inline-crate
- Owner: jaybosamiya
- License: bsd-3-clause
- Created: 2023-10-21T07:32:48.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-06T02:43:00.000Z (over 2 years ago)
- Last Synced: 2025-08-21T07:13:50.398Z (11 months ago)
- Language: Rust
- Size: 8.79 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Inline Crate
[
](https://crates.io/crates/inline-crate)
[
](https://github.com/jaybosamiya/inline-crate/blob/main/LICENSE)
A small helper tool to inline an entire Rust crate into a single file
## Install
``` sh
cargo install inline-crate --locked
```
## Usage
``` console
$ 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] [OUTPUT_FILE]
Arguments:
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
```
## License
[BSD 3-Clause License](./LICENSE)