<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-config/src/lib.rs, branch arti-v1.1.1</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-01-27T13:28:02Z</updated>
<entry>
<title>Allow clippy::unchecked_duration_subtraction in tests</title>
<updated>2023-01-27T13:28:02Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-01-27T13:01:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a6dd92843edf2bd4c58de62a0d562921e4191ada'/>
<id>urn:sha1:a6dd92843edf2bd4c58de62a0d562921e4191ada</id>
<content type='text'>
This panics on error, and we're fine with a panic on misbehavior in
tests.
</content>
</entry>
<entry>
<title>Disable clippy::unlinlined-format-args</title>
<updated>2023-01-27T13:27:47Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-01-27T12:49:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bf04641c6818cb2c87c6ed9cf463a5710f8919d2'/>
<id>urn:sha1:bf04641c6818cb2c87c6ed9cf463a5710f8919d2</id>
<content type='text'>
This warning kind of snuck up on us! (See #748)  For now, let's
disable it.  (I've cleaned it up in a couple of examples, since
those are meant to be more idiomatic and user-facing.)

Closes #748.
</content>
</entry>
<entry>
<title>Fix typos</title>
<updated>2023-01-07T18:35:54Z</updated>
<author>
<name>Dimitris Apostolou</name>
<email>dimitris.apostolou@icloud.com</email>
</author>
<published>2023-01-07T18:35:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=892c6eaadf856b080423ca70d1edac030f5b2695'/>
<id>urn:sha1:892c6eaadf856b080423ca70d1edac030f5b2695</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test lint blocks: Do some semi-manually</title>
<updated>2022-12-12T18:00:29Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-12-12T17:57:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=baf78361e848269a24a3019d99f87943872e6012'/>
<id>urn:sha1:baf78361e848269a24a3019d99f87943872e6012</id>
<content type='text'>
This is the hunks from running the rune in maint/adhoc-add-lint-blocks
but which require some subsequent manual fixup: usually, deleting
now-superfluous outer allows, but in some cases manually putting back
lints that the adhoc script deleted.
</content>
</entry>
<entry>
<title>Run add_warnings.</title>
<updated>2022-11-03T15:06:02Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-03T15:06:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=932fe48eaf83f456eefd59475b4486d59966dec3'/>
<id>urn:sha1:932fe48eaf83f456eefd59475b4486d59966dec3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cargo fmt to remove blank lines</title>
<updated>2022-10-12T14:29:04Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-10-12T14:28:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f84d8777db49f21ce6648dd244029531b370d5fd'/>
<id>urn:sha1:f84d8777db49f21ce6648dd244029531b370d5fd</id>
<content type='text'>
Apparently cargo fmt doesn't like these, which my perl rune didn't
delete.

This commit is precisely the result of `cargo fmt`.
</content>
</entry>
<entry>
<title>Replace all README copies in src/lib.rs with includes</title>
<updated>2022-10-12T14:29:03Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-10-12T14:23:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d9910dba0883020c7db08596f7b38e41875230f1'/>
<id>urn:sha1:d9910dba0883020c7db08596f7b38e41875230f1</id>
<content type='text'>
The feature we want is `#[doc = include_str!("README.md")]`, which is
stable since 1.54 and our MSRV is now 1.56.

This commit is precisely the result of the following Perl rune:
  perl -i~ -0777 -pe 's{(^//!(?!.*\@\@).*\n)+}{#![doc = include_str!("../README.md")]\n}m' crates/*/src/lib.rs
</content>
</entry>
<entry>
<title>tor-config: Provide MultilineListBuilder</title>
<updated>2022-10-12T12:50:29Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-10-07T14:42:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cb1adb0103ddf344d36b782112088fb27b310567'/>
<id>urn:sha1:cb1adb0103ddf344d36b782112088fb27b310567</id>
<content type='text'>
This is what we'll use to parse the `bridges.bridges` config key.
</content>
</entry>
<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>
</feed>
