<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-rtmock/src/util.rs, branch arti-v1.3.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.3.2</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.3.2'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-10-29T17:36:16Z</updated>
<entry>
<title>Remove re-export of "unix" from tor_rtcompat.</title>
<updated>2024-10-29T17:36:16Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-10-29T17:36:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7ddd8bacdfbd91356805a37e15c023e3b525b6e8'/>
<id>urn:sha1:7ddd8bacdfbd91356805a37e15c023e3b525b6e8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-rtmock: Provide and use an mpsc::channel wrapper in tor-rtmock</title>
<updated>2024-10-15T10:52:46Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-10-09T18:01:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=193ba52906cb65c09cb21f98f1c218b4de3c0589'/>
<id>urn:sha1:193ba52906cb65c09cb21f98f1c218b4de3c0589</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rtcompat: Expose FakeStream and friends; fix compilation in tor-rtmock</title>
<updated>2024-09-24T13:10:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-09-23T17:20:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=014ea0c7512d2199d8b5b98c75e38fba4938afda'/>
<id>urn:sha1:014ea0c7512d2199d8b5b98c75e38fba4938afda</id>
<content type='text'>
It turns out that these types are generally useful, and that they
are in fact needed for tor-rtmock to compile without a PreferredRuntime.
</content>
</entry>
<entry>
<title>Make Runtime require NetStreamProvider&lt;unix::SocketAddr&gt;</title>
<updated>2024-09-24T13:10:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-09-22T19:17:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7a56ae00ffb6e45783b0eb837098ea894ade5861'/>
<id>urn:sha1:7a56ae00ffb6e45783b0eb837098ea894ade5861</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rtcompat: Rename TcpProvider to NetStreamProvider.</title>
<updated>2024-09-24T13:10:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-09-19T11:55:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8c2d84000e4d5ba74e7b6b4e9dac3fc700f618b5'/>
<id>urn:sha1:8c2d84000e4d5ba74e7b6b4e9dac3fc700f618b5</id>
<content type='text'>
(And similarly rename TcpListener to NetStreamListener,
along with their TcpStream/TcpListener associated types.)

These types are about to become generic over addresses,
and therefore shouldn't be named after TCP.

Renaming was done mostly with Rust Analyzer,
except for some macros that needed to be hand-edited.

(I'll revise the comments in the next commit;
this one is all about renaming.)
</content>
</entry>
<entry>
<title>tls: Support export keying material (RFC 5705)</title>
<updated>2024-06-18T14:18:58Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2024-06-04T18:56:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=144522a38a511ee0dd1f5bcee9bec01c971d1f6b'/>
<id>urn:sha1:144522a38a511ee0dd1f5bcee9bec01c971d1f6b</id>
<content type='text'>
Add a function to get the keying material as detailed by RFC 5705.
Because native-tls doesn't have such support, there is a place holder
panic!() for now.

This means that for the forseable future, relay would only work with
rustls until we figure out a solution for native-tls.

Closes #1432

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>Change deftly syntax to post 0.12.1 version</title>
<updated>2024-06-17T18:13:06Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-06-17T17:33:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=dddf07561868579ea687eeadaa8f863aa833c764'/>
<id>urn:sha1:dddf07561868579ea687eeadaa8f863aa833c764</id>
<content type='text'>
 * Change `pub` to `export`
 * Change the `=` in define to `:`
 * Change `pub_template_semver_check` to `template_export_semver_check`

Right now, 0.12.1 supports both syntaxes.  I have verified this branch
also compiles with
  https://gitlab.torproject.org/Diziet/rust-derive-deftly/-/merge_requests/402
  ee171ffaf56d7dcb7d75584054921153fe19b222
</content>
</entry>
<entry>
<title>tor-rtmock: Remove a todo comment</title>
<updated>2024-04-03T12:15:08Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-04-02T14:36:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=482de7997a32efe317498a13712da2544c481b06'/>
<id>urn:sha1:482de7997a32efe317498a13712da2544c481b06</id>
<content type='text'>
derive-deftly 0.10.x rejects unrecognised `#[deftly]` attributes.
</content>
</entry>
<entry>
<title>Switch to derive-deftly</title>
<updated>2024-04-03T12:11:39Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-04-02T11:58:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b71d0bf6cd413650550b40ce81e02dc47ae2fa5e'/>
<id>urn:sha1:b71d0bf6cd413650550b40ce81e02dc47ae2fa5e</id>
<content type='text'>
This is the combination of a number of separate commits, many of which
were generated by seddery, and then rebased and squashed.

Cargo.toml
  perl -i~ -pe 's{^derive-adhoc}{derive-deftly = "0.10"}' crates/*/Cargo.toml
  (not regenerated during rebase)

update Cargo.lock
  `cargo fetch` without --locked
  (regenerated during rebase)

seddery
  git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{^use derive_adhoc}{use derive_deftly}'
  git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bdefine_derive_adhoc\b}{define_derive_deftly}g'
  git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bAdhoc\b}{Deftly}g if m{derive}'
  git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\#\[derive_adhoc\b}{#[derive_deftly}g'
  git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{use derive_adhoc}{use derive_deftly}'
  git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bderive_adhoc\b}{derive_deftly_adhoc} if m{use.*deftly}'
  git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bderive_adhoc!}{derive_deftly_adhoc!}'
  (not regenerated during rebase)

Manually add `#[derive_deftly_adhoc]` where needed.

seddery
  git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\#\[adhoc\b}{#[deftly}g'
  git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bderive_adhoc_template}{derive_deftly_template}'
  (not regenerated during rebase)

Manually fix up an import

Manually update some builder attrs

Manually fix up tor_rtmock::time_core
  This was missed in my seddery, due to me rebasing the branch and not
  redoing the seddery.
</content>
</entry>
<entry>
<title>tor-rtcompat: Make Runtime imply CoarseTimeProvider, etc. (fmt)</title>
<updated>2024-03-25T11:52:56Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-03-25T11:18:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ea85c4f67e6076901dc4ae61b03bebb9ae4a5e3a'/>
<id>urn:sha1:ea85c4f67e6076901dc4ae61b03bebb9ae4a5e3a</id>
<content type='text'>
</content>
</entry>
</feed>
