aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-dircommon
Commit message (Collapse)AuthorAgeFilesLines
...
* release: Run fixup-features.Wesley Aptekar-Cassels2025-10-011-0/+10
|
* Remove "doc_auto_cfg" incantation from all crates.Nick Mathewson2025-09-291-1/+1
| | | | This feature has been removed from nightly, in favor of doc_cfg.
* tor-dircommon: Add prop330 unit testsClara Engler2025-09-163-0/+80
|
* tor-dircommon: Derive default authority contactsClara Engler2025-09-161-1/+1
|
* tor-dircommon: Backwards compatibility for authsClara Engler2025-09-163-5/+133
|
* tor-dircommon: Implement proposal 330Clara Engler2025-09-162-206/+114
| | | | | | | This commit implements proposal 330 in the context of `tor-dircommon`, by replacing the single `Authority` structure used in a list context by a single structure called `AuthorityContacts` which contains all v3idents, upload, download, and vote endpoints in one central place.
* Move `FallbackDir` into `tor-dircommon`Clara Engler2025-09-115-6/+1873
|
* tor-dircommon: Replace amplify via getsetClara Engler2025-09-112-10/+12
| | | | See !3200
* Merge branch 'dircommon-cfg' into 'main'Clara Engler2025-09-114-0/+419
|\ | | | | | | | | Move `tor-dirmgr` configuration primitives to `tor-dircommon` See merge request tpo/core/arti!3238
| * tor-dircommon: Use amplify and getters for configClara Engler2025-09-092-18/+19
| |
| * tor-dircommon: Make config non_exhaustiveClara Engler2025-09-091-0/+3
| |
| * Move `DirTolerance` into `tor-dircommon`Clara Engler2025-09-092-0/+64
| | | | | | | | | | This commit moves the `DirTolerance` structure from `tor-dirmgr` into `tor-dircommon`.
| * Move `DownloadSchedule` into `tor-dircommon`Clara Engler2025-09-084-1/+263
| | | | | | | | | | This commit moves the `DowenloadSchedule` related types from `tor-dirmgr` into `tor-dircommon`.
| * Move `NetworkStatus` to `tor-dircommon`Clara Engler2025-09-083-0/+89
| | | | | | | | | | | | This commit moves `NetworkStatus` from `tor-dirmgr::config` to `tor-dircommon::config` in order to start the work on a common place for configuration options shared by both directory implementations.
* | Bump MSRV from 1.85 to 1.85.1Nick Mathewson2025-09-091-1/+1
|/ | | | Closes #2107
* tor-dircommon: Update to 0.34.0Clara Engler2025-09-021-4/+4
|
* tor-dircommon: Add dirports field to authorityClara Engler2025-09-021-16/+91
|
* tor-dircommon: Initial commitClara Engler2025-09-024-0/+232
This commit initializes the `tor-dircommon` crate: A crate serving the purpose to form an umbrella for the lowest common denominator primitives found across crates implementing (parts of) the directory specification. For now, the only such primitive is the found within the `authority` module, which has been refactored from `tor-dirmgr` into this crate, alongside additional getter functions due to the lack of `pub(crate)` in this context. In the future, we may move further primitives away from `tor-dirmgr` into `tor-dircommon`.