Upgrade packer

Summary:
This had collected a bit of dust and we will need to extend this a little for flipper-server.

- Update deps.
- Migrate away from deprecated clap2 model to derive (it's much shorter now and less imperative).
- ~~Some COW changes on how the progress bar crate handles strings.~~ (Reverted as this causes havvoc in `fbsource//third-party/rust`.)
- Upgraded to 2021 Edition.

Reviewed By: nikoant

Differential Revision: D35433571

fbshipit-source-id: ae0a91558610ae46069a5fc5162b524cde759454
This commit is contained in:
Pascal Hartig
2022-04-07 07:40:57 -07:00
committed by Facebook GitHub Bot
parent 9cf630b27b
commit b80766323f
5 changed files with 252 additions and 175 deletions

View File

@@ -5,12 +5,12 @@ license = "MIT"
repository = "https://github.com/facebook/flipper.git"
keywords = ["flipper", "cli"]
categories = ["development-tools"]
version = "0.3.0"
version = "0.4.0"
authors = ["Facebook, Inc."]
edition = "2018"
edition = "2021"
[dependencies]
clap = "2.34.0"
clap = { version = "3.1.7", features = ["derive", "cargo"] }
shellexpand = "2.1.0"
tar = "0.4.38"
serde = { version = "1.0.136", features = ["derive"] }
@@ -18,7 +18,7 @@ serde_yaml = "0.8.23"
anyhow = "1.0.56"
sha2 = "0.10.2"
data-encoding = "2.3.2"
serde_json = "1.0.67"
serde_json = "1.0.79"
rayon = "1.5.1"
indicatif = "^0.15"
xz2 = "0.1.6"