<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-config/src/file_watcher.rs, branch arti-v2.4.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.4.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.4.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-11-06T11:28:22Z</updated>
<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>file_watcher: Remove some now-unused things</title>
<updated>2025-02-06T17:48:33Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-02-04T12:41:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ad0221a2d166a7727dc499ce7e036dcdd819b7c2'/>
<id>urn:sha1:ad0221a2d166a7727dc499ce7e036dcdd819b7c2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>file_watcher: Use .borrow_mut and sync Mutex</title>
<updated>2025-02-06T17:48:33Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-02-04T12:38:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=478bb2a5074eae007102e82fcd84b3217221dba6'/>
<id>urn:sha1:478bb2a5074eae007102e82fcd84b3217221dba6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>file_watcher: Add some commentary about Event semantics</title>
<updated>2025-02-06T17:48:33Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-02-04T12:44:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=78cbc340b706891f58c77fa95fb59a2f5115477a'/>
<id>urn:sha1:78cbc340b706891f58c77fa95fb59a2f5115477a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-config: Test that uninteresting events get ignored.</title>
<updated>2025-01-09T16:57:22Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-01-09T11:11:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7d392e7db196e9245359546a26eb9abb511a7525'/>
<id>urn:sha1:7d392e7db196e9245359546a26eb9abb511a7525</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-config: Rewrite match for readability.</title>
<updated>2025-01-09T16:57:22Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-01-09T10:20:19Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ee58f33692f94184ddb1490ef3ef570ce6a1f80d'/>
<id>urn:sha1:ee58f33692f94184ddb1490ef3ef570ce6a1f80d</id>
<content type='text'>
Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2696#note_3145971
</content>
</entry>
<entry>
<title>tor-config: Avoid using EventKind::Any in the tests.</title>
<updated>2025-01-09T16:57:22Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-01-08T18:25:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=dddef66d1a68644520adc80cf0a5cd3aef8ebcd5'/>
<id>urn:sha1:dddef66d1a68644520adc80cf0a5cd3aef8ebcd5</id>
<content type='text'>
Events of type `Any` now get discarded by the event handler.
</content>
</entry>
<entry>
<title>tor-config: Handle rescan events before filtering.</title>
<updated>2025-01-09T16:57:22Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-01-08T18:25:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=49cb168ae4d30eb93b02a655616a270e284e902e'/>
<id>urn:sha1:49cb168ae4d30eb93b02a655616a270e284e902e</id>
<content type='text'>
This enables us to catch "rescan" events, regardless of their underlying
`EventKind`.
</content>
</entry>
<entry>
<title>tor-config: Make the `FileWatcher` ignore non-mutating file events.</title>
<updated>2025-01-09T16:57:22Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-01-08T17:52:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c2506c9802a24e09441f217d1b0ff7336e620a36'/>
<id>urn:sha1:c2506c9802a24e09441f217d1b0ff7336e620a36</id>
<content type='text'>
Without this, setting `watch_configuration = true` results in endless
config reloading due to arti accessing the config (which triggers an
access event, which in turn, triggers a config reload, and so on).

Closes #1794
</content>
</entry>
</feed>
