Files
flipper/packer
dependabot[bot] 3a82c865aa Bump sha2 from 0.9.6 to 0.10.0 in /packer (#3158)
Summary:
Bumps [sha2](https://github.com/RustCrypto/hashes) from 0.9.6 to 0.10.0.
<details>
<summary>Commits</summary>
<ul>
<li><a href="75298d36b9"><code>75298d3</code></a> update crates to digest v0.10 (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/217">https://github.com/facebook/flipper/issues/217</a>)</li>
<li><a href="d6c8c3c1b0"><code>d6c8c3c</code></a> Remove some <code>unsafe</code> (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/320">https://github.com/facebook/flipper/issues/320</a>)</li>
<li><a href="a7431da030"><code>a7431da</code></a> release sha2 v0.9.8 (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/318">https://github.com/facebook/flipper/issues/318</a>)</li>
<li><a href="93d895de72"><code>93d895d</code></a> sha2: Fix bug in the AVX2 backend (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/314">https://github.com/facebook/flipper/issues/314</a>)</li>
<li><a href="726e3c3978"><code>726e3c3</code></a> Release sha2 v0.9.7 (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/313">https://github.com/facebook/flipper/issues/313</a>)</li>
<li><a href="efda00dd6b"><code>efda00d</code></a> Add x86 intrinsics support for sha2-512 (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/312">https://github.com/facebook/flipper/issues/312</a>)</li>
<li>See full diff in <a href="https://github.com/RustCrypto/hashes/compare/sha2-v0.9.6...sha2-v0.10.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=sha2&package-manager=cargo&previous-version=0.9.6&new-version=0.10.0)](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/3158

Reviewed By: passy

Differential Revision: D33234024

Pulled By: aigoncharov

fbshipit-source-id: 48b4fec99fcafaac0bf1ac627d02f34215e502bb
2021-12-20 13:52:51 -08:00
..
2021-03-23 13:28:14 -07:00
2020-05-01 04:04:48 -07:00
2021-03-23 13:28:14 -07:00
2021-03-23 13:28:14 -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.3.0
Facebook, Inc.
Split the Flipper distribution into smaller, cacheable artifacts

USAGE:
    flipper-packer [FLAGS] [OPTIONS] <PLATFORM>

FLAGS:
    -h, --help              Prints help information
        --no-compression    Skip compressing the archives (for debugging)
    -p, --packlist          Custom list of files to pack.
    -V, --version           Prints version information

OPTIONS:
    -d, --dist <DIRECTORY>      Flipper dist directory to read from. [default: ~/fbsource/xplat/sonar/dist]
    -o, --output <DIRECTORY>    Directory to write output files to. [default: .]

ARGS:
    <PLATFORM>    Platform to build for [possible values: Mac, Linux, Windows]

Buck:

$ buck run :packer