<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-config/src/misc.rs, branch arti-v1.2.5</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.5</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.5'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-06-03T17:31:57Z</updated>
<entry>
<title>tor-config: Move macro above ExplicitOrAuto definition.</title>
<updated>2024-06-03T17:31:57Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-06-03T17:31:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=068afca2d8b5b00039c72395a9f0382afa1998e8'/>
<id>urn:sha1:068afca2d8b5b00039c72395a9f0382afa1998e8</id>
<content type='text'>
The macro needs to be defined before `ExplicitOrAuto`, otherwise we
can't reference it in its docs.

Fixes the broken doc links.
</content>
</entry>
<entry>
<title>tor-config: Apply deferred cargo fmt.</title>
<updated>2024-06-03T09:47:32Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-05-16T16:34:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1128338f90abd74016b65c3a12cb4283324a17cb'/>
<id>urn:sha1:1128338f90abd74016b65c3a12cb4283324a17cb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-config: Cross-reference NotAutoValue in the ExplicitOrAuto docs.</title>
<updated>2024-06-03T09:47:32Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-05-16T15:38:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=33007c3f7e4e9f0cc3992319c32e3d406f8295f5'/>
<id>urn:sha1:33007c3f7e4e9f0cc3992319c32e3d406f8295f5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-config: Fix a test misusing NotAutoValue.</title>
<updated>2024-06-03T09:47:32Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-05-16T15:34:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=663ed5f247ff6b631801e23ebbfedd7d0bc0dcde'/>
<id>urn:sha1:663ed5f247ff6b631801e23ebbfedd7d0bc0dcde</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-config: Add macro for implementing NotAutoValue.</title>
<updated>2024-06-03T09:47:32Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-05-16T13:37:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f5146d0909bd50c05f435aff271031d150ac61c8'/>
<id>urn:sha1:f5146d0909bd50c05f435aff271031d150ac61c8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-config: Add NotAutoValue trait bound to ExplicitOrAuto inner type.</title>
<updated>2024-06-03T09:47:32Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-05-16T13:31:19Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2ebcde2309ffb358c42a5a094e261e900bda0537'/>
<id>urn:sha1:2ebcde2309ffb358c42a5a094e261e900bda0537</id>
<content type='text'>
This is a safeguard to prevent users from using ExplicitOrAuto with
types that serialize to the same value as ExplicitOrAuto::Auto.

Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2146#note_3030692
</content>
</entry>
<entry>
<title>tor-config: Add ExplicitOrAuto::{as_value, into_value}.</title>
<updated>2024-06-03T09:47:32Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-05-16T12:42:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ec5d9fb5b624a4740396d758ae7833fd7e4148a1'/>
<id>urn:sha1:ec5d9fb5b624a4740396d758ae7833fd7e4148a1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-config: Remove unnecessary bounds.</title>
<updated>2024-06-03T09:47:32Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-05-16T12:35:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4df46ba08e097fd902b0165c55564e783bd010a6'/>
<id>urn:sha1:4df46ba08e097fd902b0165c55564e783bd010a6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-config: Expand on the ExplicitOrAuto docs.</title>
<updated>2024-06-03T09:47:32Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-05-14T09:42:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f4c73bcc7128cdad818484871bf13e1cbb4bf9cf'/>
<id>urn:sha1:f4c73bcc7128cdad818484871bf13e1cbb4bf9cf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-config: Add ExplicitOrAuto helper.</title>
<updated>2024-06-03T09:47:32Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-05-13T09:55:11Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6d2dc8b12f749d5d3d902e80fbc7c8eef42b2e99'/>
<id>urn:sha1:6d2dc8b12f749d5d3d902e80fbc7c8eef42b2e99</id>
<content type='text'>
This will be used for the `vanguard.mode` config option. The
`VanguardMode` corresponding to the `"auto"` variant will depend
on whether the `vanguards` feature is enabled: if the feature is
enabled, it is mapped to `VanguardMode::Lite`, and
`VanguardMode::Disabled` otherwise.
</content>
</entry>
</feed>
