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
Unknown Object (File)
Mon, Dec 16, 6:11 AM
Unknown Object (File)
Nov 5 2024, 8:44 AM
Unknown Object (File)
Nov 5 2024, 8:44 AM
Unknown Object (File)
Nov 5 2024, 8:44 AM
Unknown Object (File)
Nov 5 2024, 8:43 AM
Unknown Object (File)
Oct 19 2024, 12:34 PM
Unknown Object (File)
Oct 19 2024, 12:34 PM
Unknown Object (File)
Oct 16 2024, 11:33 PM

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