<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-config/src/lib.rs, branch arti-v1.0.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.0.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.0.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-08-25T19:04:52Z</updated>
<entry>
<title>Improve error from bad escapes in a toml config.</title>
<updated>2022-08-25T19:04:52Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-08-25T17:03:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=88fa24d029f14ab7e316506e44f7602ac86d12fd'/>
<id>urn:sha1:88fa24d029f14ab7e316506e44f7602ac86d12fd</id>
<content type='text'>
Whereas previously we would say:

```
target/debug/arti: error: invalid escape character in string: `Z` at line 9 column 14 in ../../.config/arti/arti.toml
```
we now say:
```
target/debug/arti: error: invalid escape character in string: `Z` at line 9 column 14 in ../../.config/arti/arti.toml   (If you wanted to include a literal \ character, you need to escape it by writing two in a row: \\)
```

The implementation is a bit of a hack, I'm afraid, but I don't think
it's all that bad.

Closes #549.
</content>
</entry>
<entry>
<title>tor-config: Provide resolve_alternative_specs</title>
<updated>2022-08-25T17:41:28Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-08-24T11:08:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=846fe3d5207a86e3c73003288b0f1bdbb442e9fb'/>
<id>urn:sha1:846fe3d5207a86e3c73003288b0f1bdbb442e9fb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-config: Introduce ResolutionResults</title>
<updated>2022-08-25T17:41:03Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-08-23T17:51:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=33358379f4bbbda3f4fd20bd5a413f3003e959cf'/>
<id>urn:sha1:33358379f4bbbda3f4fd20bd5a413f3003e959cf</id>
<content type='text'>
This will allow us to handle new kinds of warnigns etc.
</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>enable doc_auto_cfg feature on every crate when documenting for docs.rs</title>
<updated>2022-08-24T16:22:41Z</updated>
<author>
<name>trinity-1686a</name>
<email>trinity@deuxfleurs.fr</email>
</author>
<published>2022-08-17T19:13:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7f939fa4804b3c934343141b79e8e2ded5fe0b0d'/>
<id>urn:sha1:7f939fa4804b3c934343141b79e8e2ded5fe0b0d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-config: resolve_option_general: Add TODO about example</title>
<updated>2022-08-23T13:20:49Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-08-23T13:20:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0c747b8069f6a3c316751dfb575a0f2b8787a01f'/>
<id>urn:sha1:0c747b8069f6a3c316751dfb575a0f2b8787a01f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix syntax in doc comment.</title>
<updated>2022-08-23T12:59:41Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-08-23T12:59:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=32c14d37bfa246be84f419d11cc06c5dd327af0d'/>
<id>urn:sha1:32c14d37bfa246be84f419d11cc06c5dd327af0d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-config: Provide resolve_option_general, for T: !Default etc.</title>
<updated>2022-08-22T15:26:38Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-06-22T13:38:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=457c17adb078455ef5fdc8ed429d0d9d7d89754c'/>
<id>urn:sha1:457c17adb078455ef5fdc8ed429d0d9d7d89754c</id>
<content type='text'>
At one point in this MR I thought I was going to want this for
arti::cfg::ListenConfig (which we don't want to be Default).

In fact ListenConfig is being handled specially, but having written
this function it seemed sensible to keep it.  Since resolve_option
becomes a wrapper for it, the existing tests exercise it.
</content>
</entry>
<entry>
<title>tor-config: Introduce PaddingLevel</title>
<updated>2022-08-16T17:38:53Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-07-27T15:01:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2fbc196f8e85d5bebc1178c2f4a6f460c8bceb5d'/>
<id>urn:sha1:2fbc196f8e85d5bebc1178c2f4a6f460c8bceb5d</id>
<content type='text'>
This will be used for controlling channel padding, for now.
</content>
</entry>
<entry>
<title>Run maint/add_warning crates/*/src/{lib,main}.rs</title>
<updated>2022-06-23T18:15:42Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-06-23T18:15:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=589c6e52bb49ccfe6c0ad9d18d6b994978e46c6c'/>
<id>urn:sha1:589c6e52bb49ccfe6c0ad9d18d6b994978e46c6c</id>
<content type='text'>
Update all lint blocks
</content>
</entry>
</feed>
