<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-config/src/err.rs, branch arti-v1.1.4</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.4</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.4'/>
<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>test lint blocks: Add many many automatically</title>
<updated>2022-12-12T18:00:30Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-12-12T17:58:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=125a455bdcca841931f33f83f206e57637ae85c4'/>
<id>urn:sha1:125a455bdcca841931f33f83f206e57637ae85c4</id>
<content type='text'>
This is precisely the result of running the rune in
maint/adhoc-add-lint-blocks.
</content>
</entry>
<entry>
<title>tor-config: Rename to ReconfigureError::UnsupportedSituation</title>
<updated>2022-11-24T14:31:03Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-11-24T14:15:19Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=112e28d88e7d6e711e2862ee7598663dd1650457'/>
<id>urn:sha1:112e28d88e7d6e711e2862ee7598663dd1650457</id>
<content type='text'>
From Unsupported.  Prompted by
  https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/889#note_2856873
This was added in this MR.

Also add the missing semver note.
</content>
</entry>
<entry>
<title>tor-config: Rename to ConfigBuildError::NoCompileTimeSupport</title>
<updated>2022-11-24T14:30:58Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-11-24T14:06:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fa918446ace1a3b54e49a200afc13de0b1bcdac2'/>
<id>urn:sha1:fa918446ace1a3b54e49a200afc13de0b1bcdac2</id>
<content type='text'>
From Unsupported.  Following one of the suggestions here
  https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/889#note_2856873

This was added in 2c3711614908d0c9cf1663b20b67a3fc233301f4 which was
not yet in a release so this isn't a semver break.  I have added
the semver note that was omitted in that MR.
</content>
</entry>
<entry>
<title>tor-guardmgr: Refuse to configure bridges if we don't have the lock</title>
<updated>2022-11-23T13:03:14Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-11-23T13:00:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ecaf8b23b8e4de2ae6a720d992794c10c0ac7a9b'/>
<id>urn:sha1:ecaf8b23b8e4de2ae6a720d992794c10c0ac7a9b</id>
<content type='text'>
Fixes #612
</content>
</entry>
<entry>
<title>tor-config: introduce ConfigBuildError::Unsupported</title>
<updated>2022-11-21T15:46:53Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-11-21T11:56:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2c3711614908d0c9cf1663b20b67a3fc233301f4'/>
<id>urn:sha1:2c3711614908d0c9cf1663b20b67a3fc233301f4</id>
<content type='text'>
And use it in bridge configuration parsing.
</content>
</entry>
<entry>
<title>tor-config: ConfigBuildError::within: Introduce add_prefix</title>
<updated>2022-11-21T15:46:53Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-11-21T11:45:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ac4869633a2fea76b1ade0e5ea4adc7e3538ab35'/>
<id>urn:sha1:ac4869633a2fea76b1ade0e5ea4adc7e3538ab35</id>
<content type='text'>
</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: Introduce ReconfigureError::Bug</title>
<updated>2022-08-16T17:37:06Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-07-12T16:25:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fbe80fd41703ea420e1d6a40fb92a27dd2b452d5'/>
<id>urn:sha1:fbe80fd41703ea420e1d6a40fb92a27dd2b452d5</id>
<content type='text'>
Reconfigurations might fail due to internal errors.
</content>
</entry>
<entry>
<title>Add a few coverage-based tests to tor-config.</title>
<updated>2022-05-31T12:59:30Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-26T15:59:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ca94ec72ef269b12709bc880a6e3f0d9a7b30d12'/>
<id>urn:sha1:ca94ec72ef269b12709bc880a6e3f0d9a7b30d12</id>
<content type='text'>
There's nothing major here, but it does fill in a few gaps.
</content>
</entry>
</feed>
