<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-error/src, branch arti-v1.4.6</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.6</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.6'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-07-07T15:50:04Z</updated>
<entry>
<title>Temporarily suppress mismatched_lifetime_syntaxes.</title>
<updated>2025-07-07T15:50:04Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-07-07T15:50:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a11b611466a5a73f5e06a0aabd17284a57d12fe3'/>
<id>urn:sha1:a11b611466a5a73f5e06a0aabd17284a57d12fe3</id>
<content type='text'>
See #2060.
</content>
</entry>
<entry>
<title>tor-error: Removed dependency on `once_cell`</title>
<updated>2025-06-13T04:15:59Z</updated>
<author>
<name>hashcatHitman</name>
<email>3924-hashcatHitman@gitlab.torproject.org</email>
</author>
<published>2025-06-13T04:15:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f9c6b988b9300d7eecbfb054f015fa3fdc65cbc3'/>
<id>urn:sha1:f9c6b988b9300d7eecbfb054f015fa3fdc65cbc3</id>
<content type='text'>
- Replaced `once_cell::unsync::Lazy` with `std::cell::LazyCell`.

Signed-off-by: hashcatHitman &lt;3924-hashcatHitman@gitlab.torproject.org&gt;
</content>
</entry>
<entry>
<title>*: use std::io::Error::other in many places</title>
<updated>2025-05-16T01:46:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-05-16T01:46:11Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=30617ad94bed7d2e4829c10144daf202d3ffd23c'/>
<id>urn:sha1:30617ad94bed7d2e4829c10144daf202d3ffd23c</id>
<content type='text'>
The `IoError::other` function is an easier way to say
`IoError::new(IoErrorKind::Other, ...)`.  It's been around since
1.74, but clippy started warning about the more verbose version in
1.87.
</content>
</entry>
<entry>
<title>netdoc: functionality for detecting missing subprotos.</title>
<updated>2025-04-16T23:06:51Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-04-02T18:28:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9ce35d06069892c5460b4c625c4a0d470ca56607'/>
<id>urn:sha1:9ce35d06069892c5460b4c625c4a0d470ca56607</id>
<content type='text'>
Also, add a new ErrorKind for this sort of error.
</content>
</entry>
<entry>
<title>tor-error: Implement ErrorReport for dyn StdError + 'static.</title>
<updated>2025-02-04T19:41:15Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-02-04T16:22:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d4ea6356e5940da320007d4eb5ad66dff0d20352'/>
<id>urn:sha1:d4ea6356e5940da320007d4eb5ad66dff0d20352</id>
<content type='text'>
This is needed to Report on the output of `StdError::source`.
</content>
</entry>
<entry>
<title>tor-error: Refor to the correct trait.</title>
<updated>2025-02-04T19:41:15Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-02-04T16:07:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=31c2bfa6a710d711f3fc9245da69a9ec07a01229'/>
<id>urn:sha1:31c2bfa6a710d711f3fc9245da69a9ec07a01229</id>
<content type='text'>
</content>
</entry>
<entry>
<title>clippy: deny `mod_module_files`</title>
<updated>2025-01-06T23:09:41Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-01-06T23:02:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=252a3a803b2db65792db5bd51dee8950d8557e0d'/>
<id>urn:sha1:252a3a803b2db65792db5bd51dee8950d8557e0d</id>
<content type='text'>
Denies 'mod.rs' files for consistency.

https://rust-lang.github.io/rust-clippy/master/index.html#mod_module_files
</content>
</entry>
<entry>
<title>add_warnings, *: Allow clippy::needless_lifetimes</title>
<updated>2024-12-03T14:27:26Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-12-03T14:15:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=64cc3f2ed3eea0b7c5cc89ae07cbdadfdc1646fb'/>
<id>urn:sha1:64cc3f2ed3eea0b7c5cc89ae07cbdadfdc1646fb</id>
<content type='text'>
In 1.83, this warning triggers on many of our crates.
We're thinking of fixing them all, but for now,
we're going to disable the warning.

This is part of #1765.
</content>
</entry>
<entry>
<title>tor-error: add comment to `ErrorKind::TransientFailure`</title>
<updated>2024-11-21T18:36:02Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2024-11-21T18:34:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a264f26025fe8b4f9bbe7ec06c8a737c6a8b34b4'/>
<id>urn:sha1:a264f26025fe8b4f9bbe7ec06c8a737c6a8b34b4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-error: use `Display` for backtrace captured by `BugRepr`</title>
<updated>2024-10-29T14:06:49Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2024-10-29T01:59:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c91d067d395ed9a1e2385fcaf9c15dbb578a575f'/>
<id>urn:sha1:c91d067d395ed9a1e2385fcaf9c15dbb578a575f</id>
<content type='text'>
Before:

```text
2024-10-29T01:57:31Z ERROR arti: error: internal error (bug) at crates/arti/src/lib.rs:378:27: foo
Backtrace [{ fn: "tor_error::internal::ie_backtrace::capture", file: "./crates/tor-error/src/internal.rs", line: 21 }, { fn: "tor_error::internal::Bug::new_inner", file: "./crates/tor-error/src/internal.rs", line: 105 }, { fn: "tor_error::internal::Bug::new", file: "./crates/tor-error/src/internal.rs", line: 94 }, { fn: "arti::main_main", file: "./crates/arti/src/lib.rs", line: 378 }, ...
```

After:

```text
2024-10-29T01:58:23Z ERROR arti: error: internal error (bug) at crates/arti/src/lib.rs:378:27: foo
   0: tor_error::internal::ie_backtrace::capture
             at ./crates/tor-error/src/internal.rs:21:27
   1: tor_error::internal::Bug::new_inner
             at ./crates/tor-error/src/internal.rs:105:24
   2: tor_error::internal::Bug::new
             at ./crates/tor-error/src/internal.rs:94:9
   3: arti::main_main
             at ./crates/arti/src/lib.rs:378:27
   ...
```
</content>
</entry>
</feed>
