Skip to content

Commit f08a122

Browse files
Jaimin Brahmbhattmeta-codesync[bot]
authored andcommitted
Import gws (Google Workspace CLI) from GitHub
Summary: X-link: meta-pytorch/monarch#2923 Import the Google Workspace CLI (gws) package from https://github.com/googleworkspace/cli into fbsource's third-party Rust dependencies. gws is a Rust CLI tool that provides a dynamic command surface for interacting with Google Workspace APIs via the Discovery Service. It supports OAuth authentication and various Google Workspace services like Drive, Gmail, Calendar, etc. Changes made: 1. Added gws dependency to third-party/rust/Cargo.toml with artifact = "bin:gws" in the Linux + macOS + Windows platform section 2. Updated chrono from 0.4.41 to 0.4.44 (required by gws) 3. Created fixups/gws/fixups.toml with cargo_env for CARGO_PKG_VERSION and CARGO_PKG_NAME (required for version display in CLI) 4. Vendored all dependencies and regenerated BUCK targets Usage: deps = ["fbsource//third-party/rust:gws-gws"] Commands executed during import: # Fix git proxy configuration git config --global --replace-all http.proxy http://fwdproxy:8080 # Vendor the package (downloads source and transitive deps) fbcode/common/rust/tools/reindeer/vendor # Regenerate BUCK targets with fixups fbcode/common/rust/tools/reindeer/buckify # Run autocargo to update first-party Cargo.toml files arc autocargo # Build verification buck2 build fbsource//third-party/rust:gws-gws # Result: BUILD SUCCEEDED Reviewed By: dtolnay Differential Revision: D95642042 fbshipit-source-id: 8a8b3e7e187b79f007aa86fa0380ab950937f3fb
1 parent 16b493e commit f08a122

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reverie-util/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ license = "BSD-2-Clause"
1010

1111
[dependencies]
1212
anyhow = "1.0.101"
13-
chrono = { version = "0.4.41", features = ["clock", "serde", "std"], default-features = false }
13+
chrono = { version = "0.4.44", features = ["clock", "serde", "std"], default-features = false }
1414
clap = { version = "4.5.42", features = ["derive", "env", "string", "unicode", "wrap_help"] }
1515
reverie = { version = "0.1.0", path = "../reverie" }
1616
tracing = { version = "0.1.41", features = ["attributes", "valuable"] }

0 commit comments

Comments
 (0)