<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-persist/src, branch arti-v0.0.2</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.0.2</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.0.2'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2021-11-25T13:20:37Z</updated>
<entry>
<title>add semicolons if nothing returned</title>
<updated>2021-11-25T13:20:37Z</updated>
<author>
<name>Daniel Eades</name>
<email>danieleades@hotmail.com</email>
</author>
<published>2021-11-25T13:14:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=db16d13df4779ac61005050dfe5ce05e3d5a1b5d'/>
<id>urn:sha1:db16d13df4779ac61005050dfe5ce05e3d5a1b5d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix a few typos.</title>
<updated>2021-11-24T23:12:44Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-11-24T22:31:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f55950ab8d86fec3c5fbe33650c4a7001f9812b3'/>
<id>urn:sha1:f55950ab8d86fec3c5fbe33650c4a7001f9812b3</id>
<content type='text'>
Also fix some commonwealth spellings that had slipped in.
</content>
</entry>
<entry>
<title>Change how TestingStateMgr handles locking.</title>
<updated>2021-11-03T17:27:01Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-11-03T17:05:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=619ae65064861f844966e45194dbc8ffb74cee28'/>
<id>urn:sha1:619ae65064861f844966e45194dbc8ffb74cee28</id>
<content type='text'>
Previously it was either all-locked or all-not-locked.  Now you can
simulate having the same shared storage opened by multiple managers,
only one of which has the lock.
</content>
</entry>
<entry>
<title>Upgrade to fslock version 0.2</title>
<updated>2021-10-27T18:52:09Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-10-27T18:52:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2fae63b5aea73f816df96cb2db53eba6ac5f89bb'/>
<id>urn:sha1:2fae63b5aea73f816df96cb2db53eba6ac5f89bb</id>
<content type='text'>
This version makes all locks per-handle rather than per-process, by
moving from lockf() to flock() on unix.
</content>
</entry>
<entry>
<title>Add Futureproof&lt;T&gt; wrapper type, use for GuardDisabled enum</title>
<updated>2021-10-27T14:10:44Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2021-10-27T13:09:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5a4db67b16cf54d1373e2d71aa638358e5b36dc7'/>
<id>urn:sha1:5a4db67b16cf54d1373e2d71aa638358e5b36dc7</id>
<content type='text'>
The Futureproof&lt;T&gt; type lets you serialize and deserialize types whose
representations might change (most useful for enums that might grow
additional variants). It uses #[serde(untagged)] to accomplish this.

This gets used in order to make the `disabled` field of `Guard` more
robust against future guard disablement reasons being added.

A test was also added to verify correct behaviour of the new type.
</content>
</entry>
<entry>
<title>Add #[serde(flatten)] HashMap fields to serializable objects</title>
<updated>2021-10-27T12:31:52Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2021-10-27T12:31:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7a931b4de39f123b3af8afe96492bf5c67c81b95'/>
<id>urn:sha1:7a931b4de39f123b3af8afe96492bf5c67c81b95</id>
<content type='text'>
As per arti#175, we'd like to be able to handle newer Arti versions
storing additional state in the persisted state files, without dropping
this data on the floor when we write out changes to these files.

Use the #[serde(flatten)] mechanism to achieve this, by adding catch-all
HashMap&lt;String, JsonValue&gt; fields to all structs that are at risk of
this happening to them.
</content>
</entry>
<entry>
<title>Remove try_lock from StorageHandle.</title>
<updated>2021-10-20T13:42:34Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-10-20T13:42:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fe85f44fd09a6ee2de9830773bc63f48894f7f65'/>
<id>urn:sha1:fe85f44fd09a6ee2de9830773bc63f48894f7f65</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace the return type of StorageMgr::try_lock with a tristate</title>
<updated>2021-10-20T13:37:53Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-10-20T13:37:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7b6ed9dab6a673b9b563fa3818806cec4b208240'/>
<id>urn:sha1:7b6ed9dab6a673b9b563fa3818806cec4b208240</id>
<content type='text'>
It's useful to know now only if we now have the lock, but also if we
just got it for the first time.
</content>
</entry>
<entry>
<title>Add a GuardMgr member to CircuitBuilder</title>
<updated>2021-10-10T16:24:48Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-10-10T16:24:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c41dd01a14ccb36b478fdb655096dda4159dfe09'/>
<id>urn:sha1:c41dd01a14ccb36b478fdb655096dda4159dfe09</id>
<content type='text'>
</content>
</entry>
<entry>
<title>enable checked_conversions lint.</title>
<updated>2021-10-09T20:53:13Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-10-09T20:49:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=af7c9d5a0b1bdcfba820160cf89d480efd27760e'/>
<id>urn:sha1:af7c9d5a0b1bdcfba820160cf89d480efd27760e</id>
<content type='text'>
</content>
</entry>
</feed>
