inline-crate

Crates.ioinline-crate
lib.rsinline-crate
version0.1.1
sourcesrc
created_at2023-11-02 12:29:35.857564
updated_at2024-08-02 18:34:31.603501
descriptionA small helper tool that to inline an entire Rust crate into a single file
homepagehttps://github.com/jaybosamiya/inline-crate/
repositoryhttps://github.com/jaybosamiya/inline-crate/
max_upload_size
id1022571
size17,747
Jay Bosamiya (jaybosamiya)

documentation

README

Inline Crate

crates.io license

A small helper tool to inline an entire Rust crate into a single file

Install

cargo install inline-crate --locked

Usage

$ 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

License

BSD 3-Clause License

Commit count: 3

cargo fmt