| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | netdoc: refactor to use a let-else. | Nick Mathewson | 2023-11-30 | 1 | -4/+1 |
| | | |||||
| * | Fix unresolved reference in documentation | halcyon | 2023-10-23 | 1 | -1/+2 |
| | | |||||
| * | Remove deprecated ItemArgument impl for SystemTime | halcyon | 2023-10-23 | 1 | -27/+1 |
| | | |||||
| * | Fix unresolved link warning | halcyon | 2023-10-20 | 1 | -1/+1 |
| | | |||||
| * | Add Test for different Netdoc ItemArgument time formats | halcyon | 2023-10-20 | 1 | -0/+29 |
| | | |||||
| * | Implement Netdoc ItemArgument for Iso8601TimeNoSp and Iso8601TimeSp | halcyon | 2023-10-20 | 1 | -2/+15 |
| | | |||||
| * | Run maint/add_warning to add lint block everywhere | Ian Jackson | 2023-08-23 | 1 | -0/+1 |
| | | |||||
| * | tor-bytes: deprecate always_bug with From trait | Emil Engler | 2023-08-17 | 1 | -2/+1 |
| | | | | | | | This commit deprecates the `EncodeError::always_bug` function with a `From<EncodeError> for Bug` trait, which is a more semantically correct way to perform this action. | ||||
| * | Run maint/add_warning to actually apply new lint allows | Ian Jackson | 2023-07-10 | 1 | -0/+1 |
| | | |||||
| * | netdoc::build remove very broken example. | Nick Mathewson | 2023-06-16 | 1 | -20/+3 |
| | | | | | | | | | | | | This could never be a full rustdoc test, since rustdoc never runs tests for private items. Even if it were a rustdoc test, it uses a bunch of types that aren't exposed in the right places, and it invokes nonexistent functions, and it assumes a `self` that isn't there. In lieu of writing a new untested test, I've added a note to refer the developer to where they can find working example code. | ||||
| * | netdoc::build: remove or narrow `allow`s. | Nick Mathewson | 2023-06-14 | 1 | -12/+4 |
| | | |||||
| * | Make the HS encoder randomness source injectable. | Gabriela Moldovan | 2023-03-27 | 1 | -1/+2 |
| | | | | | | | | This makes it possible to plug in a deterministic randomness source for testing. Signed-off-by: Gabriela Moldovan <[email protected]> | ||||
| * | Remove `NetdocText` and replace its uses with `String`. | Gabriela Moldovan | 2023-03-24 | 1 | -49/+6 |
| | | | | | | | | | `NetdocText` is a wrapper around a `String` and a type marker. The type annotation proved of limited use, and made the netdoc builder API somewhat awkward to use. Signed-off-by: Gabriela Moldovan <[email protected]> | ||||
| * | Add builder for encoding hidden service descriptors. | Gabi Moldovan | 2023-03-24 | 1 | -2/+26 |
| | | | | | | | | | | | | | | | This introduces the `NetdocBuilder` trait described in `netdoc-builder.md` and a new `tor-netdoc::doc::hsdesc::build` module, which exports the `HsDescBuilder`. Hidden services will use `HsDescBuilder` to build and encode hidden service descriptors. There are several TODOs in the code that I'm planning to address separately. Partially addresses #745. Signed-off-by: Gabriela Moldovan <[email protected]> | ||||
| * | Implement `ItemArgument` for `String`. | Gabriela Moldovan | 2023-03-24 | 1 | -0/+6 |
| | | | | | | | | This makes some code a bit more concise, as it allows us to make `Strings` into `ItemArgument`s without calling `.as_str()`. Signed-off-by: Gabriela Moldovan <[email protected]> | ||||
| * | Fix typos | Dimitris Apostolou | 2023-01-28 | 1 | -2/+2 |
| | | |||||
| * | Allow clippy::unchecked_duration_subtraction in tests | Nick Mathewson | 2023-01-27 | 1 | -0/+1 |
| | | | | | | This panics on error, and we're fine with a panic on misbehavior in tests. | ||||
| * | netdoc builder: Add two TODOs, prompted by testing experience | Ian Jackson | 2023-01-24 | 1 | -0/+6 |
| | | |||||
| * | netdoc builder test: Make a bigger dummy document and test reparsing | Ian Jackson | 2023-01-24 | 1 | -2/+26 |
| | | |||||
| * | netdoc builder: Implement object() and add one test case | Ian Jackson | 2023-01-24 | 1 | -1/+50 |
| | | |||||
| * | netdoc-builder: Initial test case (no object yet) | Ian Jackson | 2023-01-24 | 1 | -0/+47 |
| | | |||||
| * | netdoc-builder: Provide new() method | Ian Jackson | 2023-01-24 | 1 | -0/+7 |
| | | |||||
| * | netdoc-builder: Implement ItemArgument for more needed types | Ian Jackson | 2023-01-24 | 1 | -5/+44 |
| | | |||||
| * | netdoc-builder: Remove some obsolete comments | Ian Jackson | 2023-01-24 | 1 | -11/+0 |
| | | |||||
| * | netdoc-builder: Move example into implementation doc comment | Ian Jackson | 2023-01-24 | 1 | -2/+16 |
| | | | | | Not actually tested yet | ||||
| * | netdoc-builder: Implement most of the internal general doc builder | Ian Jackson | 2023-01-24 | 1 | -23/+83 |
| | | |||||
| * | netdoc-builder api: Clarify docs for object() | Ian Jackson | 2023-01-24 | 1 | -3/+8 |
| | | |||||
| * | netdoc-builder api: Introduce ItemArgument trait | Ian Jackson | 2023-01-24 | 1 | -2/+32 |
| | | |||||
| * | netdoc-builder api: Have .item() return ItemBuilder | Ian Jackson | 2023-01-24 | 1 | -1/+1 |
| | | | | | This was a slip in the design doc. | ||||
| * | netdoc-builder api: Abolish `K` generic on ItemEncoder | Ian Jackson | 2023-01-24 | 1 | -5/+7 |
| | | | | | | We're going to eagerly encode the keyword, so this will be easy. Removing the generic simplifies the API. | ||||
| * | netdoc-builder api: Don't promise to check args_raw_string value | Ian Jackson | 2023-01-24 | 1 | -3/+0 |
| | | |||||
| * | netdoc-builder api: Make ItemEncoder methods consume and return self | Ian Jackson | 2023-01-24 | 1 | -2/+13 |
| | | | | | | | This will actually make the pattern in the example work. The mentioned `ItemArgument` trait will arrive soon. | ||||
| * | netdoc-builder api: Move internal API into actual code file (fmt) | Ian Jackson | 2023-01-24 | 1 | -6/+7 |
| | | |||||
| * | netdoc-builder api: Move internal API into actual code file | Ian Jackson | 2023-01-24 | 1 | -0/+174 |
| Motion, plus the bare minimum needed to make it compile. | |||||
