<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-error, branch arti-v1.3.2</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.3.2</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.3.2'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-01-07T16:01:41Z</updated>
<entry>
<title>Bump versions of internal arti crates for Arti 1.3.2</title>
<updated>2025-01-07T16:01:41Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-07T14:46:55Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8f4297f5e2712213910b50ced205c7b5aa0619b5'/>
<id>urn:sha1:8f4297f5e2712213910b50ced205c7b5aa0619b5</id>
<content type='text'>
The affected crates follow our regular versioning.
They all get bumped to 0.26.0.

Done with

```
for crate in $(./maint/list_crates |grep  '^arti-\|tor-' ); do
    cargo set-version --bump minor -p $crate;
done
```
</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>Bump all the unstable tor- and arti- crates to 0.25.0.</title>
<updated>2024-12-02T15:41:21Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-12-02T15:39:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e29e7a9aab4312af6a35818cb01676376d888e49'/>
<id>urn:sha1:e29e7a9aab4312af6a35818cb01676376d888e49</id>
<content type='text'>
Done using:

```
for crate in $(./maint/list_crates  | rg '^(tor|arti-)'); do
    cargo set-version -p $crate 0.25.0
done
```
</content>
</entry>
<entry>
<title>Bump the versions of the non-{arti-,tor-} crates.</title>
<updated>2024-12-02T15:41:21Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-12-02T15:32:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=158ff2d2c0ef59ce6cdf5e8d6fe499b50e762002'/>
<id>urn:sha1:158ff2d2c0ef59ce6cdf5e8d6fe499b50e762002</id>
<content type='text'>
The non-{arti-,tor-} crates are:
```
./maint/list_crates  | rg -v '^(tor|arti)'
oneshot-fused-workaround
slotmap-careful
test-temp-dir
fslock-guard
hashx
equix
caret
fs-mistrust
safelog
retry-error
```

We split them in the following categories:
  * crates with no changes (no version bumps):
    ```
    maint/changed_crates -v "arti-v$LAST_VERSION" 2&gt;&amp;1 &gt;/dev/null | grep -i "no change" | grep -v '\(tor\|arti\)-'

         oneshot-fused-workaround: No change.
         test-temp-dir: No change.
         caret: No change.
    ```

  * crates that only have non-functional changes (bump the patch version):
     - slotmap-careful
     - fslock-guard
     - hashx
     - equix
     - fs-mistrust
     - safelog
     - retry-error

  * crates where APIs were broken (bump minor):
     None

The bumps from this commit were created using this script:

```
PATCH="
slotmap-careful
fslock-guard
hashx
equix
fs-mistrust
safelog
retry-error
"

for crate in $PATCH; do
    cargo set-version --bump patch -p $crate;
done
```
</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>cargo: Update `thiserror` to `2`</title>
<updated>2024-11-12T17:00:30Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2024-11-12T10:04:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2f00918ad55881fb8fb37ad51eb644c8aaa16a23'/>
<id>urn:sha1:2f00918ad55881fb8fb37ad51eb644c8aaa16a23</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove obsolete semver files post 1.3.0 release</title>
<updated>2024-10-31T14:25:54Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-10-31T14:25:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ef1d4377c86f73f124c8f43a7bea994888f6900b'/>
<id>urn:sha1:ef1d4377c86f73f124c8f43a7bea994888f6900b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Bump unstable tor-* and arti-* crates to 0.24.0</title>
<updated>2024-10-30T16:55:19Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-10-30T16:55:19Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=08ff96ea214b3f4841aac10db77815e5e52c35d0'/>
<id>urn:sha1:08ff96ea214b3f4841aac10db77815e5e52c35d0</id>
<content type='text'>
cargo set-version -p tor-async-utils 0.24.0
cargo set-version -p tor-basic-utils 0.24.0
cargo set-version -p tor-bytes 0.24.0
cargo set-version -p tor-cell 0.24.0
cargo set-version -p tor-cert 0.24.0
cargo set-version -p tor-chanmgr 0.24.0
cargo set-version -p tor-checkable 0.24.0
cargo set-version -p tor-circmgr 0.24.0
cargo set-version -p tor-config 0.24.0
cargo set-version -p tor-config-path 0.24.0
cargo set-version -p tor-consdiff 0.24.0
cargo set-version -p tor-dirclient 0.24.0
cargo set-version -p tor-dirmgr 0.24.0
cargo set-version -p tor-error 0.24.0
cargo set-version -p tor-general-addr 0.24.0
cargo set-version -p tor-geoip 0.24.0
cargo set-version -p tor-guardmgr 0.24.0
cargo set-version -p tor-hsclient 0.24.0
cargo set-version -p tor-hscrypto 0.24.0
cargo set-version -p tor-hsrproxy 0.24.0
cargo set-version -p tor-hsservice 0.24.0
cargo set-version -p tor-key-forge 0.24.0
cargo set-version -p tor-keymgr 0.24.0
cargo set-version -p tor-linkspec 0.24.0
cargo set-version -p tor-llcrypto 0.24.0
cargo set-version -p tor-log-ratelim 0.24.0
cargo set-version -p tor-memquota 0.24.0
cargo set-version -p tor-netdir 0.24.0
cargo set-version -p tor-netdoc 0.24.0
cargo set-version -p tor-persist 0.24.0
cargo set-version -p tor-proto 0.24.0
cargo set-version -p tor-protover 0.24.0
cargo set-version -p tor-ptmgr 0.24.0
cargo set-version -p tor-relay-crypto 0.24.0
cargo set-version -p tor-relay-selection 0.24.0
cargo set-version -p tor-rpcbase 0.24.0
cargo set-version -p tor-rtcompat 0.24.0
cargo set-version -p tor-rtmock 0.24.0
cargo set-version -p tor-socksproto 0.24.0
cargo set-version -p tor-units 0.24.0
cargo set-version -p arti-client 0.24.0
cargo set-version -p arti-relay 0.24.0
cargo set-version -p arti-rpc-client-core 0.24.0
cargo set-version -p arti-rpcserver 0.24.0
</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>
