summaryrefslogtreecommitdiff
path: root/crates/tor-guardmgr/src/config.rs
Commit message (Collapse)AuthorAgeFilesLines
* maint: Run maint/add_warning to deny string slicesClara Engler2026-06-091-0/+1
| | | | | | | | | | | | This commit executes maint/add_warning with the just added change to deny string slices except in tests. I recommend auditing this by checking out the previous commit followed by running the script yourself and then verifying that the diff is identical to this commit. This commit makes cargo clippy fail. We will add exceptions in the next commit.
* Fix name of clippy lint to unchecked_time_subtraction (2)Ian Jackson2025-11-061-1/+1
| | | | Run maint/add_warning
* Move `FallbackDir` into `tor-dircommon`Clara Engler2025-09-111-1/+1
|
* Resolve some clippy warnings about empty rustdoc.Nick Mathewson2024-05-051-3/+1
| | | | | (In most cases, by writing the documentation; in tests, by permitting the documentation to be missing.)
* Run maint/add_warning.Nick Mathewson2024-03-131-0/+1
|
* Run maint/add_warning to add lint block everywhereIan Jackson2023-08-231-0/+1
|
* Run maint/add_warning to actually apply new lint allowsIan Jackson2023-07-101-0/+1
|
* Allow clippy::unchecked_duration_subtraction in testsNick Mathewson2023-01-271-0/+1
| | | | | This panics on error, and we're fine with a panic on misbehavior in tests.
* Merge branch 'test-config' into 'main'Ian Jackson2022-11-231-1/+1
|\ | | | | | | | | tor-guardmgr: Fix visibility of TestConfig with no features enabled See merge request tpo/core/arti!875
| * tor-guardmgr: Fix visibility of TestConfig with no features enabledIan Jackson2022-11-181-1/+1
| | | | | | | | | | Without this, tor-guardmgr tests don't build when run without the crate's own testing feature enabled.
* | bridge non-support: Add doc notes to GuardMgrConfig::bridges_enabledIan Jackson2022-11-211-0/+7
|/
* Fix typosDimitris Apostolou2022-11-061-2/+2
|
* guardmgr config: Provide bridge information to new and reconfigureIan Jackson2022-11-031-1/+20
|
* guardmgr config: Introduce and require new GuardMgrConfig traitIan Jackson2022-11-031-0/+44
It doesn't seem to me like it makes sense to provide the backward compatibility here.