<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/stream, branch derive-traits</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=derive-traits</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=derive-traits'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-02-25T12:23:49Z</updated>
<entry>
<title>tor-proto datastream: Fix typo in Debug impl</title>
<updated>2022-02-25T12:23:49Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-02-25T10:55:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3903900461d3558ac8f5255ba7c77c006a3c82cf'/>
<id>urn:sha1:3903900461d3558ac8f5255ba7c77c006a3c82cf</id>
<content type='text'>
As per
  https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/353#note_2781632
</content>
</entry>
<entry>
<title>Fix rustfmt</title>
<updated>2022-02-24T19:45:58Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-02-24T19:45:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=78ab634ed9ceffaef810f343c1e21706041acad1'/>
<id>urn:sha1:78ab634ed9ceffaef810f343c1e21706041acad1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto datastream: Do not dump packet data in DataWriterImpl</title>
<updated>2022-02-24T19:39:18Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-02-24T18:56:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f3520478b1c757f291532bca72aca42a471d2e07'/>
<id>urn:sha1:f3520478b1c757f291532bca72aca42a471d2e07</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto datastream: import std::fmt::Debug trait name</title>
<updated>2022-02-24T19:39:18Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-02-24T18:55:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=097c852e58d422d7a4a6dd31303a15f6dac321fe'/>
<id>urn:sha1:097c852e58d422d7a4a6dd31303a15f6dac321fe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>impl Debug for DataStream (and its components)</title>
<updated>2022-02-24T17:49:34Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-02-24T17:47:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b56115a04fb0ebedae04a5302a04501b83b845a6'/>
<id>urn:sha1:b56115a04fb0ebedae04a5302a04501b83b845a6</id>
<content type='text'>
My proximate motivation is that tls-api wants its inner streams to be
Debug.  But in general, I agree with the Rust API Guidelines notion
that almost everything should be Debug.

I have gone for the "dump all the things" approach.  A more nuanced
approach would be possible too.
</content>
</entry>
<entry>
<title>Update tor-proto errors to latest API.</title>
<updated>2022-02-15T14:57:03Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-15T14:57:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6b611d6deae2e003ea81f459cd5e005c37ab50ce'/>
<id>urn:sha1:6b611d6deae2e003ea81f459cd5e005c37ab50ce</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make tor-proto::Error implement HasKind.</title>
<updated>2022-02-15T14:41:47Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-11T21:27:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4af279b1730a058093b250696beddd0228793b6d'/>
<id>urn:sha1:4af279b1730a058093b250696beddd0228793b6d</id>
<content type='text'>
This took some refactoring, and gave an opportunity to notice
a few error variants that weren't being used, or didn't mean
what they said on the tin.
</content>
</entry>
<entry>
<title>tor-proto: use InternalError for internal errors.</title>
<updated>2022-02-15T14:41:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-11T20:20:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f23f375e42ef3237f9bbb7b8bfee47ecc9ced4a1'/>
<id>urn:sha1:f23f375e42ef3237f9bbb7b8bfee47ecc9ced4a1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a blank line between doc and comment.</title>
<updated>2022-01-11T18:23:58Z</updated>
<author>
<name>Ian Jackson</name>
<email>iwj@torproject.org</email>
</author>
<published>2022-01-11T18:23:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cfcd3ea6891d53f3c8eaa12dcbec06e664c3973b'/>
<id>urn:sha1:cfcd3ea6891d53f3c8eaa12dcbec06e664c3973b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improve the layout of crate exports; add runtime convenience functions</title>
<updated>2022-01-11T15:16:03Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2022-01-11T15:16:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=41e202a3a4c582dedd2c9c5c5c60369b4a53fae0'/>
<id>urn:sha1:41e202a3a4c582dedd2c9c5c5c60369b4a53fae0</id>
<content type='text'>
This commit addresses multiple problems highlighted by arti#182:

- `arti-client` had some types in its public API that weren't accessible
  without importing another crate (`CfgPath`, `DataReader`,
  `DataWriter`). This has been fixed.
  - In addition, the doc comments for `DataReader` and `DataWriter` were
    cleaned up to be of better quality, now that they're public.
- It was impossible to use `arti-client` without also importing
  `tor-rtcompat`. This is now fixed by the addition of two convenience
  methods: `TorClient::bootstrap_with_tokio` and
  `TorClient::bootstrap_with_async_std`.
- Potentially controversially: `tor-rtcompat` now returns *concrete*
  types from methods like `current_runtime`, instead of `impl Runtime`.
  - This was needed in order to actually be able to name the `TorClient`
    type that results from using these methods.
  - This does mean we lose API flexibility, but on balance I think this
    is a good thing, because the API we *do* have is actually usable...
</content>
</entry>
</feed>
