[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 21:38:47 UTC 2018
#26337: make rust error types use the failure crate
-------------------------+-------------------------------------------------
Reporter: isis | Owner: (none)
Type: | Status: new
enhancement |
Priority: Medium | Milestone: Tor: 0.3.5.x-final
Component: Core | Version:
Tor/Tor | Keywords: rust, technical-debt, tor-
Severity: Normal | modularity
Actual Points: | Parent ID:
Points: 1 | Reviewer:
Sponsor: |
Sponsor8-can |
-------------------------+-------------------------------------------------
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.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26337>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list