| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | fs-mistrust: Document problems with non-UTF8 OsString in toml | Nick Mathewson | 2022-05-26 | 1 | -4/+8 |
| | | | | | | | | | | | | 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. | ||||
| * | Use serde attrs instead of manual impls | Nick Mathewson | 2022-05-24 | 1 | -28/+4 |
| | | |||||
| * | Write custom serde impls for Trusted{User,Group} | Nick Mathewson | 2022-05-24 | 1 | -0/+298 |
| 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" } ``` | |||||
