<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti-testing/src/config.rs, branch main</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=main</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-08-07T15:28:36Z</updated>
<entry>
<title>Switch Cargo.toml files to edition 2024.</title>
<updated>2025-08-07T15:28:36Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-08-06T01:19:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=77b0de43b8c67cdb81befe0680a3df43b6ad37bc'/>
<id>urn:sha1:77b0de43b8c67cdb81befe0680a3df43b6ad37bc</id>
<content type='text'>
First, run

```
git grep -l "^edition =" |
    xargs perl -i -pe 's/^edition *=.*/edition = "2024"/;'
```

Second, manually verify that all Cargo.toml files have changed,
and nothing else has changed.

Third, run cargo fmt again.
</content>
</entry>
<entry>
<title>Upgrade to clap 3: replace deprecated functions</title>
<updated>2022-11-04T18:28:40Z</updated>
<author>
<name>Gabriel de Perthuis</name>
<email>g2p.code@gmail.com</email>
</author>
<published>2022-11-04T12:08:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=21a3808684684ef659ba68c6534ae722d7b6b04c'/>
<id>urn:sha1:21a3808684684ef659ba68c6534ae722d7b6b04c</id>
<content type='text'>
Also replace Arg::takes_value with Arg::action to configure flags
that don't take parameters vs options that do.

This makes it easy to upgrade to clap 4.

Tested deprecations with:

    cargo check --workspace --all-features --features clap/deprecated
</content>
</entry>
<entry>
<title>Upgrade to clap 3 with minimal changes</title>
<updated>2022-11-04T18:28:38Z</updated>
<author>
<name>Gabriel de Perthuis</name>
<email>g2p.code@gmail.com</email>
</author>
<published>2022-11-04T09:52:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bc08ea48f7f29c35e73d3dbf0aca23d85877a12f'/>
<id>urn:sha1:bc08ea48f7f29c35e73d3dbf0aca23d85877a12f</id>
<content type='text'>
This removes the last cargo audit override (for the unmaintained
ansi_term).

Don't mark options as required when they have default values:
see &lt;https://github.com/clap-rs/clap/pull/3793&gt;.
</content>
</entry>
<entry>
<title>tor-config: Replace dir detection with ConfigurationSource enum</title>
<updated>2022-08-25T14:58:29Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-08-24T17:56:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9c00ec7da432a6ecd434fcb5227f50fc349c7162'/>
<id>urn:sha1:9c00ec7da432a6ecd434fcb5227f50fc349c7162</id>
<content type='text'>
As per
  https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/682#note_2830860

And subsequent IRC discussion.

Having done the work as per review comments, I don't much like the
result.  It's quite un-ergonomiuc.  If we can't have fs autodetection,
I think syntactic autodetection within sources.rs would be nearly as
nice.

However, I seem to be outvoted.  At least the externally visible
functionality (of an arti binary, say) is reasonably ergonomic.
</content>
</entry>
<entry>
<title>arti-config abolition: Change references to use tor_config</title>
<updated>2022-05-13T11:42:30Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-05-13T10:36:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ef36882807dbd6e5dabdd2d40fe4543fb29443ee'/>
<id>urn:sha1:ef36882807dbd6e5dabdd2d40fe4543fb29443ee</id>
<content type='text'>
Generally, change the paths that mention the crate name to go via a
module-level "use".

This involves adding tor-config as a direct dependency for a few
crates.
</content>
</entry>
<entry>
<title>ConfigurationSource: Rename new to new_empty</title>
<updated>2022-05-11T14:53:03Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-05-11T11:03:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e363b79a01b1aa19e9407755d67057524775cd95'/>
<id>urn:sha1:e363b79a01b1aa19e9407755d67057524775cd95</id>
<content type='text'>
This emphasises its nature.  We're going to provide a more cooked
constructor in a moment.
</content>
</entry>
<entry>
<title>Directory filtering in arti-testing.</title>
<updated>2022-03-31T13:27:27Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-03-30T12:48:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e98aa50e72f5ee15d676c0fec267621d26fbe94a'/>
<id>urn:sha1:e98aa50e72f5ee15d676c0fec267621d26fbe94a</id>
<content type='text'>
This feature allows us to detect different failing cases for
arti#329 that would otherwise be hard to induce.  It works by
filtering consensus directory objects and/or microdescriptor objects
before introducing them to the directory manager.

Closes #397.
</content>
</entry>
<entry>
<title>arti-testing: support for conditional TCP failure.</title>
<updated>2022-03-07T16:44:43Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-03-07T16:44:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a86f00c2221493ff6b9118f8053e4f38e2acd56a'/>
<id>urn:sha1:a86f00c2221493ff6b9118f8053e4f38e2acd56a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti-testing: add support for black-holing TCP connections.</title>
<updated>2022-03-07T16:26:13Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-03-07T16:26:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3aed6335598740e999b1f45bcbd812a165adc428'/>
<id>urn:sha1:3aed6335598740e999b1f45bcbd812a165adc428</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti-testing: CLI for making TCP connections break.</title>
<updated>2022-03-07T15:52:04Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-03-07T15:52:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5d91fa7f5a8c8e93d61ff0c572cea4f6ca1a00b1'/>
<id>urn:sha1:5d91fa7f5a8c8e93d61ff0c572cea4f6ca1a00b1</id>
<content type='text'>
</content>
</entry>
</feed>
