Page MenuHomePhabricator

[services] Tunnelbroker - Adding `anyhow` crate to the Cargo dependencies
ClosedPublic

Authored by max on Aug 25 2022, 5:01 AM.
Tags
None
Referenced Files
F3618114: D4952.id16057.diff
Wed, Jan 1, 8:27 PM
Unknown Object (File)
Wed, Dec 25, 8:13 AM
Unknown Object (File)
Wed, Dec 25, 8:13 AM
Unknown Object (File)
Wed, Dec 25, 8:13 AM
Unknown Object (File)
Wed, Dec 25, 8:12 AM
Unknown Object (File)
Fri, Dec 20, 9:03 PM
Unknown Object (File)
Fri, Dec 20, 6:32 PM
Unknown Object (File)
Mon, Dec 16, 6:11 AM

Details

Summary

In D4540 comments @varun suggested using anyhow to easily handle errors. It looks like a good and tested playground solution.

To use it in a Tunnelbroker codebase we need to add it to the Cargo.toml dependencies.
Cargo.lock file is also included in this diff.

Related Linear Task: ENG-1704

Test Plan

Successfully built using the cargo build inside the services/tunnelbroker/rust-notifications.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

max held this revision as a draft.
max published this revision for review.Aug 25 2022, 5:43 AM
max edited the summary of this revision. (Show Details)
max edited the test plan for this revision. (Show Details)
max added reviewers: karol, varun, tomek, jon.
max added a subscriber: varun.

@ashoat will be added as a final reviewer after passing current blocking reviewers.

This revision is now accepted and ready to land.Aug 26 2022, 12:07 PM