<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-config/src/load.rs, branch arti-v1.9.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.9.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.9.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-01-07T16:27:34Z</updated>
<entry>
<title>tor-config: small typo fix in docs</title>
<updated>2026-01-07T16:27:34Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-01-07T16:27:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2a8cfd520d0707c6595d2b627a9ade3082dd4dd0'/>
<id>urn:sha1:2a8cfd520d0707c6595d2b627a9ade3082dd4dd0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-config: New Buildable trait.</title>
<updated>2025-12-09T16:32:14Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-12-01T15:38:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7b32da9ad6f539862a6435a15bc6cdcd988a3a14'/>
<id>urn:sha1:7b32da9ad6f539862a6435a15bc6cdcd988a3a14</id>
<content type='text'>
This trait will be implemented by every type that our
derive_deftly(TorConfig) template generates.  It will, among other
things, help us figure out the Builder type for a given config type
in cases where string-pasting magic is intractable, or where we
want to use assert_not_impl to double-check the attributes.
</content>
</entry>
<entry>
<title>Fix name of clippy lint to unchecked_time_subtraction (2)</title>
<updated>2025-11-06T11:28:22Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-11-06T11:23:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a5fd5c48ea059a80cc1f6c50e248654b5ff3aaff'/>
<id>urn:sha1:a5fd5c48ea059a80cc1f6c50e248654b5ff3aaff</id>
<content type='text'>
Run maint/add_warning
</content>
</entry>
<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>tor-config: fix `clippy::double_ended_iterator_last`</title>
<updated>2025-04-03T17:32:58Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-04-03T17:17:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ec53c9eaa49e65f9c07c055518a1a543e868f8c8'/>
<id>urn:sha1:ec53c9eaa49e65f9c07c055518a1a543e868f8c8</id>
<content type='text'>
```text
warning: called `Iterator::last` on a `DoubleEndedIterator`; this will needlessly iterate the entire iterator
   --&gt; crates/tor-config/src/load.rs:606:18
    |
606 |                 .last()
    |                  ^^^^^^ help: try: `next_back()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_ended_iterator_last
note: the lint level is defined here
   --&gt; crates/tor-config/src/lib.rs:9:9
    |
9   | #![warn(clippy::all)]
    |         ^^^^^^^^^^^
    = note: `#[warn(clippy::double_ended_iterator_last)]` implied by `#[warn(clippy::all)]`
```
</content>
</entry>
<entry>
<title>Switch to figment 1.0.18 and extract_lossy</title>
<updated>2024-04-22T17:17:49Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-04-22T11:43:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d028024c737e23b72acdab6f6f4d8cf368a5df8f'/>
<id>urn:sha1:d028024c737e23b72acdab6f6f4d8cf368a5df8f</id>
<content type='text'>
The new (dubiously named) `Figment::extract_lossy` method
can treat decode numbers from strings, and booleans from numbers or
strings. This makes the behavior compatible with config-rs, and
should (I hope) finally allow us to migrate.
</content>
</entry>
<entry>
<title>Convert tor-config to use figment.</title>
<updated>2024-04-22T17:17:49Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-02-15T17:12:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=20d342db1a5fe976d26c709afa9d6b3859d4df28'/>
<id>urn:sha1:20d342db1a5fe976d26c709afa9d6b3859d4df28</id>
<content type='text'>
There are probably ways to make this a bit more elegant, but at
least the tests still pass.
</content>
</entry>
<entry>
<title>Merge branch 'encapsulate_config_rs' into 'main'</title>
<updated>2024-03-13T18:52:39Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-03-13T18:52:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6b120ec2117b8b0dfb5f0daa1746ec532cf3ad3a'/>
<id>urn:sha1:6b120ec2117b8b0dfb5f0daa1746ec532cf3ad3a</id>
<content type='text'>
Encapsulate usage of config-rs inside tor-config.

See merge request tpo/core/arti!2040</content>
</entry>
<entry>
<title>Run maint/add_warning.</title>
<updated>2024-03-13T16:30:53Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-03-13T16:30:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c0c9bd15d42897825dd0ab3d3b8dd1c17bd6320c'/>
<id>urn:sha1:c0c9bd15d42897825dd0ab3d3b8dd1c17bd6320c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-config: Update documentation to not refer to config crate.</title>
<updated>2024-03-13T13:48:35Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-02-15T16:04:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=54863b653dd1e4910e288d44c74e0a21a8b58596'/>
<id>urn:sha1:54863b653dd1e4910e288d44c74e0a21a8b58596</id>
<content type='text'>
</content>
</entry>
</feed>
