Files
flipper/packer
dependabot[bot] b0b772dcf5 Bump serde from 1.0.171 to 1.0.175 in /packer (#4964)
Summary:
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.171 to 1.0.175.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/serde-rs/serde/releases">serde's releases</a>.</em></p>
<blockquote>
<h2>v1.0.175</h2>
<ul>
<li>Restore missing LICENSE files in serde_derive crate (<a href="https://redirect.github.com/serde-rs/serde/issues/2527">https://github.com/facebook/flipper/issues/2527</a>, thanks <a href="https://github.com/ankane"><code>@​ankane</code></a>)</li>
</ul>
<h2>v1.0.174</h2>
<ul>
<li>Documentation improvements</li>
</ul>
<h2>v1.0.173</h2>
<ul>
<li>Fix missing trait implementations when using serde derive macro on a macro-generated data structure, such as via the <code>bitflags</code> crate (<a href="https://redirect.github.com/serde-rs/serde/issues/2516">https://github.com/facebook/flipper/issues/2516</a>)</li>
</ul>
<h2>v1.0.172</h2>
<ul>
<li>Experiment with precompiling the serde_derive macros to reduce build time (<a href="https://redirect.github.com/serde-rs/serde/issues/2514">https://github.com/facebook/flipper/issues/2514</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="6140b6f527"><code>6140b6f</code></a> Release 1.0.175</li>
<li><a href="4cabc9f293"><code>4cabc9f</code></a> Merge pull request <a href="https://redirect.github.com/serde-rs/serde/issues/2527">https://github.com/facebook/flipper/issues/2527</a> from ankane/license-files</li>
<li><a href="aa7c6345a4"><code>aa7c634</code></a> Include license files in serde_derive crate</li>
<li><a href="27414c90a8"><code>27414c9</code></a> Merge pull request <a href="https://redirect.github.com/serde-rs/serde/issues/2522">https://github.com/facebook/flipper/issues/2522</a> from serde-rs/leak</li>
<li><a href="50e2f4b213"><code>50e2f4b</code></a> Leak all memory allocated during macro expansion</li>
<li><a href="22be673beb"><code>22be673</code></a> Release 1.0.174</li>
<li><a href="166c89fabf"><code>166c89f</code></a> Opt in to generate-link-to-definition when building on docs.rs</li>
<li><a href="6e0b13eedb"><code>6e0b13e</code></a> Release 1.0.173</li>
<li><a href="7e8f978ca9"><code>7e8f978</code></a> Handle $crate special case</li>
<li><a href="6c0e838a7c"><code>6c0e838</code></a> Always consider empty output to be unsuccessful</li>
<li>Additional commits viewable in <a href="https://github.com/serde-rs/serde/compare/v1.0.171...v1.0.175">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=serde&package-manager=cargo&previous-version=1.0.171&new-version=1.0.175)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

 ---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

Pull Request resolved: https://github.com/facebook/flipper/pull/4964

Reviewed By: aigoncharov

Differential Revision: D47755906

Pulled By: passy

fbshipit-source-id: 9724e43e14ce3f1b3d413dea27cbe6a524b5a203
2023-07-25 09:31:04 -07:00
..
2023-05-25 10:13:23 -07:00
2020-05-01 04:04:48 -07:00
2022-07-27 07:43:12 -07:00

Flipper Packer

A tool for splitting a Flipper build into smaller artifacts that can be distributed and cached separately.

N.B. Buck build files are not included in the open-source export of this tool.

Building

With cargo:

$ cargo build

With Buck:

$ buck build :packer

Testing

With cargo:

$ cargo test

With Buck:

buck test :packer

Usage

See help page:

$ cargo run -- --help
flipper-packer 0.4.0
Facebook, Inc.
Helper tool that breaks down a Flipper release into smaller artifacts.

USAGE:
    flipper-packer [OPTIONS] <PLATFORM>

ARGS:
    <PLATFORM>    Platform to build for

OPTIONS:
    -d, --dist <DIST>            Flipper dist directory to read from [default:
                                 ~/fbsource/xplat/sonar/dist]
    -h, --help                   Print help information
        --no-compression         Skip compressing the archives (for debugging)
    -o, --output <OUTPUT>        Directory to write output files to [default: .]
    -p, --packlist <PACKLIST>    Custom list of files to pack
    -V, --version                Print version information

Buck:

buck run :packer