Summary: Bumps [serde](https://github.com/serde-rs/serde) from 1.0.160 to 1.0.163. <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.163</h2> <ul> <li>Eliminate build script from serde_derive crate to slightly reduce build time (<a href="https://redirect.github.com/serde-rs/serde/issues/2442">https://github.com/facebook/flipper/issues/2442</a>, thanks <a href="https://github.com/taiki-e"><code>@taiki-e</code></a>)</li> </ul> <h2>v1.0.162</h2> <ul> <li> <p>Support deserializing flattened adjacently tagged enums from data formats which represent fields as bytes, such as the <code>csv</code> crate (<a href="https://redirect.github.com/serde-rs/serde/issues/2377">https://github.com/facebook/flipper/issues/2377</a>, thanks <a href="https://github.com/mfro"><code>@mfro</code></a>)</p> <pre lang="rust"><code>#[derive(Deserialize)] pub struct Record { common: u64, #[serde(flatten)] kind: Kind, } <p>#[derive(Deserialize)] #[serde(tag = "kind", content = "parameter", rename_all = "lowercase")] enum Kind { Foo(u64), Bar(bool), } </code></pre></p> <pre lang="csv"><code>common,kind,parameter 1,foo,42 2,bar,true </code></pre> </li> </ul> <h2>v1.0.161</h2> <ul> <li>Improve error messages produced by serde_test on test failure (<a href="https://redirect.github.com/serde-rs/serde/issues/2435">https://github.com/facebook/flipper/issues/2435</a>, thanks <a href="https://github.com/Mingun"><code>@Mingun</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="fccb9499bc"><code>fccb949</code></a> Release 1.0.163</li> <li><a href="a139ab2572"><code>a139ab2</code></a> Adjust PR 2446 with less overgeneralized name</li> <li><a href="1d910a484c"><code>1d910a4</code></a> Format with rustfmt 1.5.2-nightly</li> <li><a href="ee9166ec97"><code>ee9166e</code></a> Revise comments on the FlatMapDeserializer entry taker</li> <li><a href="b5a9eff32e"><code>b5a9eff</code></a> Resolve while_let_on_iterator clippy lint</li> <li><a href="9441a29663"><code>9441a29</code></a> Merge pull request <a href="https://redirect.github.com/serde-rs/serde/issues/2446">https://github.com/facebook/flipper/issues/2446</a> from Mingun/dedup2</li> <li><a href="ab6588ef74"><code>ab6588e</code></a> Extract duplicated code into a function</li> <li><a href="1d11f03449"><code>1d11f03</code></a> Extract logic of taking flattened fields into a function</li> <li><a href="e11d01fe1d"><code>e11d01f</code></a> Remove constructors for FlatMapAccess and FlatStructAccess</li> <li><a href="a901f50850"><code>a901f50</code></a> FlatMapAccess and FlatStructAccess does not need to be public</li> <li>Additional commits viewable in <a href="https://github.com/serde-rs/serde/compare/v1.0.160...v1.0.163">compare view</a></li> </ul> </details> <br /> [](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/4736 Reviewed By: ivanmisuno Differential Revision: D45917748 Pulled By: passy fbshipit-source-id: 86fbf6ffa9a52f6af3c1e5e2ce39aca04e23a788
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