summaryrefslogtreecommitdiff
path: root/crates/tor-config/src/err.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add a few coverage-based tests to tor-config.Nick Mathewson2022-05-311-1/+20
| | | | There's nothing major here, but it does fill in a few gaps.
* impl From<SubfieldBuildError> for ConfigBuildErrorIan Jackson2022-04-221-0/+7
| | | | We are going to be using sub-field builders.
* tor-config: Add HasKind support.Nick Mathewson2022-02-091-0/+20
| | | | This required a few new ErrorKinds.
* address clippy's latest lintDaniel Eades2021-12-201-0/+1
|
* Sketch API for reconfiguration.Nick Mathewson2021-12-071-1/+13
| | | | | | | This patch doesn't actually make anything reconfigurable, but it does create an API that will tell you "you can't change the value of that!" If the API looks reasonable, I can start making it possible to change the values of individual items.
* Merge branch 'config-updates-and-tests'Nick Mathewson2021-11-291-0/+4
|\
| * Resolve some warnings in tor-config testNick Mathewson2021-11-251-0/+4
| |
* | deglob some enums, use concise iteration syntaxDaniel Eades2021-11-251-0/+1
|/
* Fix a few typos.Nick Mathewson2021-11-241-1/+1
| | | | Also fix some commonwealth spellings that had slipped in.
* More tests for tor-config.Nick Mathewson2021-11-241-0/+54
|
* Use named fields for the elements of ConfigBuildErrorNick Mathewson2021-11-181-13/+33
|
* Move top-level configuration downwards from `arti` to `arti-config`.Nick Mathewson2021-11-181-0/+39
To do this at all neatly, I had to split out `tor-config` from `arti-config` again, and putting the lower level stuff (paths, builder errors) into tor-config. I also changed our use of derive_builder to always use a common error type, to avoid error type proliferation.