<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-config, 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-04-30T12:01:10Z</updated>
<entry>
<title>Bump versions of 0.x tor-* and arti-* crates</title>
<updated>2024-04-30T12:01:10Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-04-30T11:59:55Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5f74f115c9b9ad585a9ae24ab7f98a13ba73d704'/>
<id>urn:sha1:5f74f115c9b9ad585a9ae24ab7f98a13ba73d704</id>
<content type='text'>
for p in `cat ../u`; do cargo set-version --locked --offline -p $p; done

where u contains

tor-basic-utils
tor-async-utils
tor-error
tor-config
tor-units
tor-geoip
tor-rtcompat
tor-rtmock
tor-log-ratelim
tor-rpcbase
tor-memquota
tor-llcrypto
tor-protover
tor-bytes
tor-hscrypto
tor-socksproto
tor-checkable
tor-cert
tor-linkspec
tor-cell
tor-proto
tor-netdoc
tor-consdiff
tor-netdir
tor-relay-selection
tor-persist
tor-chanmgr
tor-ptmgr
tor-guardmgr
tor-circmgr
tor-dirclient
tor-dirmgr
tor-keymgr
tor-hsclient
tor-hsservice
tor-hsrproxy
arti-client
arti-rpcserver
arti-hyper
</content>
</entry>
<entry>
<title>Switch to figment 1.0.18 and extract_lossy</title>
<updated>2024-04-22T17:17:49Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-04-22T11:43:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d028024c737e23b72acdab6f6f4d8cf368a5df8f'/>
<id>urn:sha1:d028024c737e23b72acdab6f6f4d8cf368a5df8f</id>
<content type='text'>
The new (dubiously named) `Figment::extract_lossy` method
can treat decode numbers from strings, and booleans from numbers or
strings. This makes the behavior compatible with config-rs, and
should (I hope) finally allow us to migrate.
</content>
</entry>
<entry>
<title>Rename ConfigParseError =&gt; ConfigLoadError</title>
<updated>2024-04-22T17:17:49Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-03-20T12:25:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cd5311d9c3c8fa63b26a53bea16df16bb315c8e9'/>
<id>urn:sha1:cd5311d9c3c8fa63b26a53bea16df16bb315c8e9</id>
<content type='text'>
Figment can give an error under more conditions than just a parsing
failure, so we should report it a bit more vaguely.
</content>
</entry>
<entry>
<title>Add an action field to Io error in tor-config.</title>
<updated>2024-04-22T17:17:49Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-02-19T18:44:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c52c351892b9dd8f3d9347ea466dfa8687709006'/>
<id>urn:sha1:c52c351892b9dd8f3d9347ea466dfa8687709006</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Convert tor-config to use figment.</title>
<updated>2024-04-22T17:17:49Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-02-15T17:12:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=20d342db1a5fe976d26c709afa9d6b3859d4df28'/>
<id>urn:sha1:20d342db1a5fe976d26c709afa9d6b3859d4df28</id>
<content type='text'>
There are probably ways to make this a bit more elegant, but at
least the tests still pass.
</content>
</entry>
<entry>
<title>Upgrade derive-deftly requirement to 0.10.3</title>
<updated>2024-04-11T13:19:36Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-04-11T13:19:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1691927c635eba095cc66414e535424bb6bdf175'/>
<id>urn:sha1:1691927c635eba095cc66414e535424bb6bdf175</id>
<content type='text'>
We're taking this for the fix to derive-deftly#52.
</content>
</entry>
<entry>
<title>Merge branch 'deftly' into 'main'</title>
<updated>2024-04-03T12:34:16Z</updated>
<author>
<name>Ian Jackson</name>
<email>iwj@torproject.org</email>
</author>
<published>2024-04-03T12:34:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fbf3551fbf1fcffafaaf3d7a006bdf07661aac9c'/>
<id>urn:sha1:fbf3551fbf1fcffafaaf3d7a006bdf07661aac9c</id>
<content type='text'>
Switch to derive-deftly

See merge request tpo/core/arti!2066</content>
</entry>
<entry>
<title>derive-deftly: Change some docs references</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:59:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9fd94822a4dd2c267b0ebdca122bde8123d506d1'/>
<id>urn:sha1:9fd94822a4dd2c267b0ebdca122bde8123d506d1</id>
<content type='text'>
Found by "git grep adhoc" and manual inspection.
</content>
</entry>
<entry>
<title>derive-deftly: Call pub_template_semver_check</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:35:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e9d5e13267a98ca6c193929b675d4b3b159274b2'/>
<id>urn:sha1:e9d5e13267a98ca6c193929b675d4b3b159274b2</id>
<content type='text'>
This is a new feature in d-d 0.10.0.

Our currrent semver policy doesn't care about this, but let's not
encode that property in the tree and leave ourselves a booby-trap.
</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>
</feed>
