<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-chanmgr/src/lib.rs, branch arti-v1.2.2</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.2</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.2'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-02-29T17:16:49Z</updated>
<entry>
<title>deny clippy::unchecked_duration_subtraction</title>
<updated>2024-02-29T17:16:49Z</updated>
<author>
<name>trinity-1686a</name>
<email>trinity@deuxfleurs.fr</email>
</author>
<published>2024-02-29T17:06:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ac5b36027ca825d27ef466501c660ce498fd9e3c'/>
<id>urn:sha1:ac5b36027ca825d27ef466501c660ce498fd9e3c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>educe: Use std's default for enums where default variant is unit</title>
<updated>2024-02-12T11:38:36Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-02-12T11:07:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c35c60f848154e80f23ba95a989ff2f9d2594e6a'/>
<id>urn:sha1:c35c60f848154e80f23ba95a989ff2f9d2594e6a</id>
<content type='text'>
Since Rust 1.66, std's default works properly for enums, provided that
the default variant is a unit.

Review all uses of `#[educe(default)]` on enums and replace them with
std where possible, which is most of them.

In 1.66 and later, std's `#[derive(Default)]` doesn't infer any
generic bounds on the derived impl, where it's an enum - since the
unit variant can always be constructed.  So this change doesn't add
any generic bounds and is not API-visible.
</content>
</entry>
<entry>
<title>continually_expire_channels: don't round off expiration delay</title>
<updated>2023-12-14T00:51:39Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2023-12-14T00:51:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cc9d656ca88d75970cc527af1299e9a1e292b008'/>
<id>urn:sha1:cc9d656ca88d75970cc527af1299e9a1e292b008</id>
<content type='text'>
Without this change, if the delay is less than one second, the code will
effectively busy-loop until the delay has elapsed. This
potentially leads to deadlock in shadow simulations, and
wastes CPU in real usage.

https://shadow.github.io/docs/guide/limitations.html?highlight=busy#busy-loops
</content>
</entry>
<entry>
<title>continually_expire_channels: refactor using let-else</title>
<updated>2023-12-14T00:50:32Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2023-12-14T00:50:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=10aff4d04e1a404f7f04fde93980184d5b613fb2'/>
<id>urn:sha1:10aff4d04e1a404f7f04fde93980184d5b613fb2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Run add_warnings on all files.</title>
<updated>2023-08-04T11:45:04Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-08-04T11:45:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cec6d0ce33b4b5cebbce57f55faec83397e9c953'/>
<id>urn:sha1:cec6d0ce33b4b5cebbce57f55faec83397e9c953</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix a pair of rustdoc links in chanmgr.</title>
<updated>2023-07-19T15:57:55Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-07-19T15:57:55Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=027b3472a89602b6bddf771b64d3c32a33b62912'/>
<id>urn:sha1:027b3472a89602b6bddf771b64d3c32a33b62912</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move an import to resolve a warning.</title>
<updated>2023-07-13T16:33:01Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-07-13T16:33:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ce8848f3487e4a58e8b91cb60356626fd13c570c'/>
<id>urn:sha1:ce8848f3487e4a58e8b91cb60356626fd13c570c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Explain better why you would use build_unmanaged_channel</title>
<updated>2023-07-13T15:51:12Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-07-13T15:51:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=157d134a65c8e01c861ebb917ede3fea83e7c7bc'/>
<id>urn:sha1:157d134a65c8e01c861ebb917ede3fea83e7c7bc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Resolve numerous typos in `ChanMgr::build_unmanaged_channel` code</title>
<updated>2023-07-13T15:47:05Z</updated>
<author>
<name>gabi-250</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-07-13T15:47:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=56d96e4253eca8bad7ebf535d0dc09329bfb7f91'/>
<id>urn:sha1:56d96e4253eca8bad7ebf535d0dc09329bfb7f91</id>
<content type='text'>
</content>
</entry>
<entry>
<title>chanmgr: Remove now-unused (and never usable) builder() method.</title>
<updated>2023-07-13T13:33:06Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-07-13T13:31:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6b61eec987134f32a184133662ab34edd38c1e21'/>
<id>urn:sha1:6b61eec987134f32a184133662ab34edd38c1e21</id>
<content type='text'>
</content>
</entry>
</feed>
