[tor-bugs] #26337 [Core Tor/Tor]: make rust error types use the failure crate
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Jun 8 22:16:30 UTC 2018
#26337: make rust error types use the failure crate
-------------------------------------------------+-------------------------
Reporter: isis | Owner: (none)
Type: enhancement | Status: new
Priority: Medium | Milestone: Tor:
| 0.3.5.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: rust, technical-debt, tor- | Actual Points:
modularity |
Parent ID: | Points: 1
Reviewer: | Sponsor:
| Sponsor8-can
-------------------------------------------------+-------------------------
Description changed by isis:
Old description:
> As our Rust code increases, we'll eventually want a nicer way to convert
> between error types than we currently have. We'll probably want to use
> boats's `failure`
> [https://twitter.com/0x424c41434b/status/1005185002399830023 crate].
> They mentioned a while ago that they were going to make a 1.0.0 release
> soon, and afaict there's not really anything about the current release
> that is expected to change, so we can probably start working on this now-
> ish.
New description:
As our Rust code increases, we'll eventually want a nicer way to convert
between error types than we currently have. We'll probably want to use
boats's `failure` [https://crates.io/crates/failure crate]. They
mentioned a while ago that they were going to make a 1.0.0 release soon,
and afaict there's not really anything about the current release that is
expected to change, so we can probably start working on this now-ish.
--
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26337#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list