aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-config/src/extend_builder.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.
* tor-config: fix and improve ExtendBuilder override.Nick Mathewson2026-02-171-0/+8
| | | | | | | | 1. When we are told to `extend_with`, we should obey that directive even if we have a sub_builder etc. 2. Provide an `extend_with_replace` function for the common case where we want to just replace one object with another.
* extend_builder: Implement ExtendBuilder for HashMap.Nick Mathewson2025-12-091-1/+17
|
* Fix name of clippy lint to unchecked_time_subtraction (2)Ian Jackson2025-11-061-1/+1
| | | | Run maint/add_warning
* ExtendBuilder: Try to document more clearly what it doesNick Mathewson2024-12-191-0/+4
|
* extend_builder: document more about why it works.Nick Mathewson2024-12-191-0/+33
|
* extend_builder: Tests for strip_option, default.Nick Mathewson2024-12-191-0/+206
|
* tor-config: Add "extend" functionality for config builders.Nick Mathewson2024-12-191-0/+178
We'll use this to implement defaults for maps in our configuration.