<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-config/src/sources.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-31T16:24:39Z</updated>
<entry>
<title>Fix a rustdoc link error.</title>
<updated>2022-08-31T16:24:39Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-08-31T16:24:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=874ba13501f92b842b20950aff44d9eff66f7af6'/>
<id>urn:sha1:874ba13501f92b842b20950aff44d9eff66f7af6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove `anyhow` from `tor-config` crate</title>
<updated>2022-08-28T23:07:53Z</updated>
<author>
<name>Arturo Marquez</name>
<email>arturomf94@gmail.com</email>
</author>
<published>2022-08-28T23:07:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7d3d24cddf68b3d7a3f956507dcb9f886fa7a633'/>
<id>urn:sha1:7d3d24cddf68b3d7a3f956507dcb9f886fa7a633</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'clippy' into 'main'</title>
<updated>2022-08-26T12:56:25Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-08-26T12:56:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=496a5be749bc0d4ecbc11e917b325ba5985f268b'/>
<id>urn:sha1:496a5be749bc0d4ecbc11e917b325ba5985f268b</id>
<content type='text'>
tor-config: tests: Apply standard lint block in sources.rs

See merge request tpo/core/arti!694</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: tests: Apply standard lint block in sources.rs</title>
<updated>2022-08-25T15:33:59Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-08-25T15:33:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a931ec08bd3adaa8be9d02165bd6ebd897ffbfb2'/>
<id>urn:sha1:a931ec08bd3adaa8be9d02165bd6ebd897ffbfb2</id>
<content type='text'>
Fixes a spurious clippy warning on nightly, about a dbg!
</content>
</entry>
<entry>
<title>tor-config source: just ConfigurationSource, not FoundConfigFile</title>
<updated>2022-08-25T14:58:29Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-08-24T18:43:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2662fd0d7197bc2d11f6d4553990a33a88c20baf'/>
<id>urn:sha1:2662fd0d7197bc2d11f6d4553990a33a88c20baf</id>
<content type='text'>
FoundConfigFile existed to hide something that ConfigurationSource now
exposes.
</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>tor-config: Provide is_syntactically_directory helper function</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:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e98bdf6004c0064ba9597740ce4251c248aa16e8'/>
<id>urn:sha1:e98bdf6004c0064ba9597740ce4251c248aa16e8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-config: MustRead: Make public</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:58:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a3005d8c0a801deafcc574dde4c5c47797097e62'/>
<id>urn:sha1:a3005d8c0a801deafcc574dde4c5c47797097e62</id>
<content type='text'>
I think this ought to be exhaustive.
</content>
</entry>
<entry>
<title>config sources: Read arti.d as well as arti.toml</title>
<updated>2022-08-25T14:58:29Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-08-19T18:24:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7d8b3e2f2fbd1bc8e479978eabb240739df4c1f2'/>
<id>urn:sha1:7d8b3e2f2fbd1bc8e479978eabb240739df4c1f2</id>
<content type='text'>
Fixes #474 aka #271
</content>
</entry>
</feed>
