<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-config/src/lib.rs, branch arti-v1.9.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.9.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.9.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-12-09T16:32:14Z</updated>
<entry>
<title>Revert "tor-config: Code to serialize Option&lt;Option&lt;Duration&gt;&gt; via humantime"</title>
<updated>2025-12-09T16:32:14Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-12-05T15:49:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=383aa694efc6a58ada5f825594c3d53dda1b878c'/>
<id>urn:sha1:383aa694efc6a58ada5f825594c3d53dda1b878c</id>
<content type='text'>
This reverts commit c7c8eb5a03439ce31319389183e64cb0db539fc9.
</content>
</entry>
<entry>
<title>tor-config: new derive_deftly(TorConfig) template.</title>
<updated>2025-12-09T16:32:14Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-12-01T15:40:55Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ab307f399a4e717cae3615fd246c7cf80c7dd23f'/>
<id>urn:sha1:ab307f399a4e717cae3615fd246c7cf80c7dd23f</id>
<content type='text'>
This template is meant to replace most of our use of derive_builder
for configuration objects.  Where possible and reasonable, it
delegates to existing macros, and automatically infers what special
patterns we use for individual types.  In other cases, it uses
compile-time errors to inform the caller about pattern violations.
</content>
</entry>
<entry>
<title>tor-config: Helper types for setters to take as arguments</title>
<updated>2025-12-09T16:32:14Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-12-01T15:37:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=756ef16cf8ef45e517b0bdce13d83d70ee467605'/>
<id>urn:sha1:756ef16cf8ef45e517b0bdce13d83d70ee467605</id>
<content type='text'>
The derive-deftly TorConfig template will use these as appropriate
for the inputs to setter functions, based on field types.
</content>
</entry>
<entry>
<title>tor-config: Code to serialize Option&lt;Option&lt;Duration&gt;&gt; via humantime</title>
<updated>2025-12-09T16:32:14Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-12-01T15:35:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c0cebfc7f32d9d1638f4a7cffc8fc651c3f8d9bd'/>
<id>urn:sha1:c0cebfc7f32d9d1638f4a7cffc8fc651c3f8d9bd</id>
<content type='text'>
</content>
</entry>
<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>Remove "doc_auto_cfg" incantation from all crates.</title>
<updated>2025-09-29T19:30:03Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-09-29T18:30:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=808b0ec2e3735a6dbbebeb857a3d6040ae02c697'/>
<id>urn:sha1:808b0ec2e3735a6dbbebeb857a3d6040ae02c697</id>
<content type='text'>
This feature has been removed from nightly, in favor of doc_cfg.
</content>
</entry>
<entry>
<title>clippy: fix `clippy::implicit_clone` errors</title>
<updated>2025-08-11T15:18:41Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-08-11T15:18:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=691177eae9f0d3117220f7927237fbf9fafc79e6'/>
<id>urn:sha1:691177eae9f0d3117220f7927237fbf9fafc79e6</id>
<content type='text'>
```text
error: implicitly cloning a `String` by calling `to_string` on its dereferenced type
   --&gt; crates/tor-config/src/lib.rs:109:32
    |
109 |             V::String(_, s) =&gt; s.to_string(),
    |                                ^^^^^^^^^^^^^ help: consider using: `s.clone()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#implicit_clone
note: the lint level is defined here
   --&gt; crates/tor-config/src/lib.rs:20:9
    |
 20 | #![deny(clippy::implicit_clone)]
    |         ^^^^^^^^^^^^^^^^^^^^^^
```
</content>
</entry>
<entry>
<title>Temporarily suppress mismatched_lifetime_syntaxes.</title>
<updated>2025-07-07T15:50:04Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-07-07T15:50:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a11b611466a5a73f5e06a0aabd17284a57d12fe3'/>
<id>urn:sha1:a11b611466a5a73f5e06a0aabd17284a57d12fe3</id>
<content type='text'>
See #2060.
</content>
</entry>
<entry>
<title>clippy: deny `mod_module_files`</title>
<updated>2025-01-06T23:09:41Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-01-06T23:02:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=252a3a803b2db65792db5bd51dee8950d8557e0d'/>
<id>urn:sha1:252a3a803b2db65792db5bd51dee8950d8557e0d</id>
<content type='text'>
Denies 'mod.rs' files for consistency.

https://rust-lang.github.io/rust-clippy/master/index.html#mod_module_files
</content>
</entry>
<entry>
<title>Define macros to create a map-builder type.</title>
<updated>2024-12-19T21:12:25Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-12-10T16:40:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1f1ffe7f88d8697d75fd14f5811e624312f984e4'/>
<id>urn:sha1:1f1ffe7f88d8697d75fd14f5811e624312f984e4</id>
<content type='text'>
We're about to need this to define some of the configuration
for RPC listeners.

The provided map-builder type is much less voluminous in terms of
APIs added than the list-builder type: It just uses Deref* and sub_builder.
I think this simplicity may be a win.

I'll need to rethink how this type handles defaults in order to
implement connect points properly; I've left XXXXs for that issue.
</content>
</entry>
</feed>
