<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/fs-mistrust/src/user, branch arti-v1.0.0</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.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.0.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-05-26T14:36:35Z</updated>
<entry>
<title>fs-mistrust: Document problems with non-UTF8 OsString in toml</title>
<updated>2022-05-26T14:36:35Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-25T18:29:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=487742ea3d7071ab76935ae1d7c2c1ecb40b34cd'/>
<id>urn:sha1:487742ea3d7071ab76935ae1d7c2c1ecb40b34cd</id>
<content type='text'>
It turns out that the `toml` crate can't handle OsString, since
`toml` doesn't support serialize_newtype_variant, and the `serde`
crate tries to serialize OsString using that method.

In this commit we document that limitation, and test that we can at
least round-trip through json.

Found by inspecting test coverage.
</content>
</entry>
<entry>
<title>Use serde attrs instead of manual impls</title>
<updated>2022-05-24T14:54:02Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-24T14:15:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=924cc380d478e2b4a6b2b7bacbbe780e3b8fee7c'/>
<id>urn:sha1:924cc380d478e2b4a6b2b7bacbbe780e3b8fee7c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Write custom serde impls for Trusted{User,Group}</title>
<updated>2022-05-24T14:54:02Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-20T19:15:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=12f2a47fcb42ea3ccf3456a034dbdec82a8f0953'/>
<id>urn:sha1:12f2a47fcb42ea3ccf3456a034dbdec82a8f0953</id>
<content type='text'>
We support all of the following (in TOML notation):

```
user = "rose"  # by name
user = 413     # by ID
user = false   # no user
user = ":current"  # A 'special' user.

user = { name: "rose" }
user = { id: 413 }
user = { special: ":none" }
user = { special: ":current" }
```
</content>
</entry>
</feed>
