<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-error/src, branch arti-v1.4.0</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.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-02-04T19:41:15Z</updated>
<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>
<entry>
<title>Remove Rpc* variants from tor_error::ErrorKind</title>
<updated>2024-10-17T23:16:58Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-10-16T18:58:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5219f4cee5a74c0abdd8ad548b4ead9e2066cb2c'/>
<id>urn:sha1:5219f4cee5a74c0abdd8ad548b4ead9e2066cb2c</id>
<content type='text'>
These are not regular ErrorKinds, since they can never occur in an
error that's meant to be returned from a Rust API like
`arti-client`.  Instead, they only exist for errors returned from
RpcError.

(I can't find the place where we discussed this previously, but the
rationale is that if an ErrorKind never makes sense in response to
something that the user does from Rust, we should never have that be
an ErrorKind.  The fact that the removed kinds do not actually
appear outside the RPC system suggests that this is reasonable.)
</content>
</entry>
<entry>
<title>tor-error: Make "futures" dependency optional.</title>
<updated>2024-10-09T19:59:21Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-10-09T19:59:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8f45f5bfa2574671b8d60ba273ddcb72aa6599bd'/>
<id>urn:sha1:8f45f5bfa2574671b8d60ba273ddcb72aa6599bd</id>
<content type='text'>
This is part of an effort to make arti-rpc-client-core (and future
similar tools) able to use our very-low-level crates
without depending on things they don't need.
</content>
</entry>
<entry>
<title>Merge branch 'miri-1' into 'main'</title>
<updated>2024-10-09T15:42:43Z</updated>
<author>
<name>Ian Jackson</name>
<email>iwj@torproject.org</email>
</author>
<published>2024-10-09T15:42:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=42004900adb8f8f02a238b04094e8f6c8344d888'/>
<id>urn:sha1:42004900adb8f8f02a238b04094e8f6c8344d888</id>
<content type='text'>
Add some more miri tests

See merge request tpo/core/arti!2502</content>
</entry>
<entry>
<title>tor-error: Disable backtraces under miri, even if cargo feature enabled</title>
<updated>2024-10-08T15:53:28Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-10-07T11:45:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=856b65f24b31e9500d7ef5a84e168b423e06d862'/>
<id>urn:sha1:856b65f24b31e9500d7ef5a84e168b423e06d862</id>
<content type='text'>
</content>
</entry>
</feed>
