Files
flipper/packer
dependabot[bot] 8a39174a56 Bump serde from 1.0.119 to 1.0.122 in /packer (#1856)
Summary:
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.119 to 1.0.122.
<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.122</h2>
<ul>
<li>
<p>Add IntoDeserializer impl for &amp;[u8] (<a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/1898">#1898</a>, thanks <a href="https://github.com/Mingun"><code>Mingun</code></a>)</p>
</li>
<li>
<p>Handle unrecognized numeric field keys during deserialization of a field_identifier, equivalently to string field keys (<a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/1914">#1914</a>, thanks <a href="https://github.com/Mingun"><code>Mingun</code></a>)</p>
</li>
<li>
<p>Add attribute to override default deserialization failure expectation message (<a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/1916">#1916</a>, thanks <a href="https://github.com/Mingun"><code>Mingun</code></a>)</p>
<pre lang="rust"><code>#[derive(Deserialize)]
#[serde(untagged, expecting = &quot;single version or array of versions&quot;)]
struct VersionSpec {
    One(Version),
    Many(Vec&lt;Version&gt;),
}
</code></pre>
</li>
<li>
<p>Improve <code>serde_test</code> handling of map entries and error message construction (<a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/1918">#1918</a>, thanks <a href="https://github.com/Mingun"><code>Mingun</code></a>)</p>
</li>
<li>
<p>Produce more accurate location information on test failures from <code>serde_test</code> crate (<a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/1920">#1920</a>, thanks <a href="https://github.com/Mingun"><code>Mingun</code></a>)</p>
</li>
<li>
<p>Improve diagnostic on failure to parse a <code>rename_all</code> attribute (<a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/1960">#1960</a>, <a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/1961">#1961</a>)</p>
</li>
<li>
<p>Eliminate unnecessary trait bounds on some value Deserializer impls (<a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/1963">#1963</a>)</p>
</li>
</ul>
<h2>v1.0.121</h2>
<ul>
<li>Support borrowed data during deserialization of a field identifier (<a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/1917">#1917</a>, thanks <a href="https://github.com/Mingun"><code>Mingun</code></a>)</li>
<li>Fix panic when deserializing <code>Duration</code> with nanoseconds that cause the seconds counter to overflow (<a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/1958">#1958</a>, thanks <a href="https://github.com/jonasbb"><code>jonasbb</code></a>)</li>
</ul>
<h2>v1.0.120</h2>
<ul>
<li>Fix deserialization of ignored fields containing 128-bit integer (<a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/1955">#1955</a>, thanks <a href="https://github.com/TheJokr"><code>TheJokr</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="ffed19243d"><code>ffed192</code></a> Release 1.0.122</li>
<li><a href="bb7f94df84"><code>bb7f94d</code></a> Add serde_derive_internals to clippy CI job</li>
<li><a href="ff0f467e25"><code>ff0f467</code></a> Opt in to pedantic clippy lints in serde_derive_internals</li>
<li><a href="d1975f3661"><code>d1975f3</code></a> Update serde_derive_internals to tool attrs</li>
<li><a href="b91713e824"><code>b91713e</code></a> Suppress clippy should_implement_trait lint</li>
<li><a href="6ea446fb4b"><code>6ea446f</code></a> Suppress clippy unused_self pedantic lint</li>
<li><a href="85c6904a93"><code>85c6904</code></a> Remove dependency on syn/visit feature</li>
<li><a href="2fd5212204"><code>2fd5212</code></a> Remove unused trait impls on private MapAsEnum</li>
<li><a href="7d1bc1f0fc"><code>7d1bc1f</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/1963">#1963</a> from serde-rs/valuedebug</li>
<li><a href="cdc2fa1b9f"><code>cdc2fa1</code></a> Eliminate inferred bound on error type of value deserializer Debug impls</li>
<li>Additional commits viewable in <a href="https://github.com/serde-rs/serde/compare/v1.0.119...v1.0.122">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.119&new-version=1.0.122)](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/1856

Reviewed By: passy

Differential Revision: D26047330

Pulled By: mweststrate

fbshipit-source-id: 4d919076204e74458c8a98a87a52ecbf11d7f09d
2021-01-25 09:29:13 -08:00
..
2021-01-21 10:00:16 -08:00
2020-05-01 04:04:48 -07:00
2020-05-01 04:04:48 -07:00

Flipper Packer

Work in progress and incomplete

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.1.0
Facebook, Inc.


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

FLAGS:
    -h, --help        Prints help information
    -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