Summary: Bumps [serde](https://github.com/serde-rs/serde) from 1.0.152 to 1.0.158. <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.158</h2> <ul> <li>Fix <em>"expected serde crate attribute to be a string"</em> error when using macro_rules metavariable inside of serde attribute: <code>#[serde(crate = $serde_path)]</code> (<a href="https://redirect.github.com/serde-rs/serde/issues/2409">https://github.com/facebook/flipper/issues/2409</a>)</li> </ul> <h2>v1.0.157</h2> <ul> <li>Update syn dependency to 2.x</li> </ul> <h2>v1.0.156</h2> <ul> <li>Documentation improvements</li> </ul> <h2>v1.0.155</h2> <ul> <li>Support <code>Serialize</code> and <code>Deserialize</code> impls for <code>core::ffi::CStr</code> and <code>alloc::ffi::CString</code> without "std" feature (<a href="https://redirect.github.com/serde-rs/serde/issues/2374">https://github.com/facebook/flipper/issues/2374</a>, thanks <a href="https://github.com/safarir"><code>@safarir</code></a>)</li> </ul> <h2>v1.0.154</h2> <ul> <li>Fix "undeclared lifetime" error in generated code when deriving Deserialize for an enum with both <code>flatten</code> and <code>'static</code> fields (<a href="https://redirect.github.com/serde-rs/serde/issues/2383">https://github.com/facebook/flipper/issues/2383</a>, thanks <a href="https://github.com/Mingun"><code>@Mingun</code></a>)</li> </ul> <h2>v1.0.153</h2> <ul> <li>Support <code>serde(alias = "…")</code> attribute used inside of flattened struct (<a href="https://redirect.github.com/serde-rs/serde/issues/2387">https://github.com/facebook/flipper/issues/2387</a>, thanks <a href="https://github.com/bebecue"><code>@bebecue</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="e3058105f0"><code>e305810</code></a> Release 1.0.158</li> <li><a href="dc200a6450"><code>dc200a6</code></a> Reformat comments of non-public serde_derive internals</li> <li><a href="2c0999a0b9"><code>2c0999a</code></a> Merge pull request <a href="https://redirect.github.com/serde-rs/serde/issues/2410">https://github.com/facebook/flipper/issues/2410</a> from serde-rs/attrvalue</li> <li><a href="dd460f82a1"><code>dd460f8</code></a> Check for None-delimited group in attribute value</li> <li><a href="c3d637f397"><code>c3d637f</code></a> Add regression test for issue 2409</li> <li><a href="479a00a215"><code>479a00a</code></a> Release 1.0.157</li> <li><a href="c42e7c8012"><code>c42e7c8</code></a> Reflect serde_derive required compiler in build script and rust-version metadata</li> <li><a href="5b8e0657d4"><code>5b8e065</code></a> Ignore single_match_else pedantic clippy lint in serde_derive_internals</li> <li><a href="9fc0d13e2c"><code>9fc0d13</code></a> Merge pull request <a href="https://redirect.github.com/serde-rs/serde/issues/2406">https://github.com/facebook/flipper/issues/2406</a> from dtolnay/nestedmeta</li> <li><a href="bc22641359"><code>bc22641</code></a> Rewrite attribute parser using parse_nested_meta</li> <li>Additional commits viewable in <a href="https://github.com/serde-rs/serde/compare/v1.0.152...v1.0.158">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/4610 Reviewed By: mweststrate Differential Revision: D44262491 Pulled By: passy fbshipit-source-id: 5348f8f83d9c3b79632034ff4645739f43c297da
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