<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-units/src, branch arti-v1.0.1</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.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.0.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-08-24T16:22:41Z</updated>
<entry>
<title>enable doc_auto_cfg feature on every crate when documenting for docs.rs</title>
<updated>2022-08-24T16:22:41Z</updated>
<author>
<name>trinity-1686a</name>
<email>trinity@deuxfleurs.fr</email>
</author>
<published>2022-08-17T19:13:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7f939fa4804b3c934343141b79e8e2ded5fe0b0d'/>
<id>urn:sha1:7f939fa4804b3c934343141b79e8e2ded5fe0b0d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Run maint/add_warning crates/*/src/{lib,main}.rs</title>
<updated>2022-06-23T18:15:42Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-06-23T18:15:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=589c6e52bb49ccfe6c0ad9d18d6b994978e46c6c'/>
<id>urn:sha1:589c6e52bb49ccfe6c0ad9d18d6b994978e46c6c</id>
<content type='text'>
Update all lint blocks
</content>
</entry>
<entry>
<title>Merge branch 'error_cleanup' into 'main'</title>
<updated>2022-06-22T19:43:50Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-06-22T19:43:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=210f3f158711ba29bc2d68c23afa1005d9138c67'/>
<id>urn:sha1:210f3f158711ba29bc2d68c23afa1005d9138c67</id>
<content type='text'>
Error cleanup, part 1

See merge request tpo/core/arti!601</content>
</entry>
<entry>
<title>Style fixes to tor-units errors.</title>
<updated>2022-06-22T12:42:13Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-06-22T12:42:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9ba7750dfe365179f36b8e159b730fb5d5c6397c'/>
<id>urn:sha1:9ba7750dfe365179f36b8e159b730fb5d5c6397c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-units: IntegerTimeUnit: Provide try_map</title>
<updated>2022-06-21T18:19:22Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-06-16T16:42:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b1b840c7c690a082e2822e90aa0bbc927501a9e1'/>
<id>urn:sha1:b1b840c7c690a082e2822e90aa0bbc927501a9e1</id>
<content type='text'>
This lets a caller map the inner value, eg to convert the type.
I don't provide `map` as well as `try_map` now, since I don't need it;
we could add it later if it is desirable (although try_map can always
be used instead).

I was hoping to provide a `TryFrom` instead, but that necesasrily
overlaps with the std conversion impl from IntegerMilliseconds&lt;T&gt; to
IntegerMilliseconds&lt;U&gt; where T == U.
</content>
</entry>
<entry>
<title>tor-units: IntegerTimeUnit: Relax condition on T</title>
<updated>2022-06-21T18:19:22Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-06-16T16:36:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0ea34e3280a0ea960d05e8433fd1c16033d575b2'/>
<id>urn:sha1:0ea34e3280a0ea960d05e8433fd1c16033d575b2</id>
<content type='text'>
It is semantically quite meaningful for these to contain something
that isn't `TryInto&lt;u64&gt;`.  (Of course the `Duration` conversion won't
work without that.)

Indeed, this condition was only applied to two out of the three types.

Prompted by being near this code, but not actually necessary for
anything I'm doing here.
</content>
</entry>
<entry>
<title>tor-units: IntegerTimeUnit: Provide as_time_unit deconstructor</title>
<updated>2022-06-21T18:19:22Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-06-16T16:30:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ec756c79e74c716085dc30703e0dbe7256721691'/>
<id>urn:sha1:ec756c79e74c716085dc30703e0dbe7256721691</id>
<content type='text'>
We're going to need this to use this in the padding timer parameters.
</content>
</entry>
<entry>
<title>lints: Add let_unit_value allow to all crates</title>
<updated>2022-05-31T14:23:52Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-05-31T10:46:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4f42101554822c44782c164cac0051e3b4055abd'/>
<id>urn:sha1:4f42101554822c44782c164cac0051e3b4055abd</id>
<content type='text'>
From running add_warning, with manual picking of the right
hunks/lines.
</content>
</entry>
<entry>
<title>lints: Add lint block delimiters to every crate</title>
<updated>2022-05-31T12:00:31Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-05-30T17:43:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ba0843da4a7ba1e63846a286b870b893092e0a4f'/>
<id>urn:sha1:ba0843da4a7ba1e63846a286b870b893092e0a4f</id>
<content type='text'>
This was the result of:
  maint/add_warning crates/*/src/{lib,main}.rs
and then manually curating the results.
</content>
</entry>
<entry>
<title>squash! Bump every crate's edition to 2021.</title>
<updated>2022-04-25T17:06:26Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-04-25T16:40:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2f6bc6bdc431fa36de70a167eea777dcf3f60bf2'/>
<id>urn:sha1:2f6bc6bdc431fa36de70a167eea777dcf3f60bf2</id>
<content type='text'>
Remove all `use` statements for `TryFrom` and `TryInto`.  These are
now redundant in Rust 2021.
</content>
</entry>
</feed>
