summaryrefslogtreecommitdiff
path: root/Cargo.lock
Commit message (Collapse)AuthorAgeFilesLines
* cargo: Bump futures-copyClara Engler2026-01-131-1/+1
| | | | | The dependencies of futures-copy got bumped in arti!3570, leading to a change in futures-copy, hence why we bump the patch version.
* cargo: Bump all non arti/tor cratesClara Engler2026-01-121-1/+1
| | | | | | | | | | | | | | | This only includes retry-error which had a few functional additions in December, thereby rasing the minor version as new features were added to the public API. Done using the following: * Find all non arti, non tor crates. * `ls -1 crates/ | grep -v "^tor-\|^arti"` * Exclude the ones without changes. * `maint/changed_crates -v "arti-v$LAST_VERSION" 2>&1 >/dev/null | grep -i "no change"` * Look into each with changes. * In this case only retry-error. * Bump the minor because it had non-trivial changes.
* cargo: Bump `arti` to `1.9.0`Clara Engler2026-01-121-1/+1
|
* cargo: Update `arti-*` and `tor-*` to `0.38.0`Clara Engler2026-01-121-48/+48
| | | | | | | | | Done using the following: ```bash for crate in $(./maint/list_crates | rg '^(tor|arti-)'); do cargo set-version -p $crate 0.38.0 done ```
* Merge branch 'relay-bin-4' into 'main'opara2025-12-181-0/+4
|\ | | | | | | | | arti-relay: Add a `GuardMgr`, `CircMgr`, and `DirMgr` See merge request tpo/core/arti!3552
| * arti-relay: implement `CircMgrConfig`Steven Engler2025-12-171-0/+2
| |
| * arti-relay: implement `GuardMgrConfig`Steven Engler2025-12-171-0/+1
| |
| * arti-relay: add `NetworkConfig` to configSteven Engler2025-12-171-0/+1
| |
* | feat(retry-error): add timestamps to retry errorsNihal2025-12-171-0/+1
|/
* arti: Export the chosen ports in a ports_info.json file.Nick Mathewson2025-12-161-0/+1
| | | | | This allows applications to find out where arti is listening when arti has been configured to listen with the port "auto".
* Merge branch 'relay-bin-4' into 'main'David Goulet2025-12-101-0/+1
|\ | | | | | | | | arti-relay: Install default ring crypto provider See merge request tpo/core/arti!3539
| * arti-relay: install default ring crypto providerSteven Engler2025-12-091-0/+1
| | | | | | | | | | | | | | | | This is what arti uses, and fixes the warning: ```text WARN tor_rtcompat::impls::rustls: Creating a RustlsRuntime, but no CryptoProvider is installed. The application should call CryptoProvider::install_default() ```
* | tor-dirserver: Implement DownloadManagerClara Engler2025-12-101-0/+4
|/ | | | | | | | | This commit implements the DownloadManager in its own module, an object responsible for downloading network documents from an upstream directory authority. Further motivation for this can be found in the rustdoc comment of the respectively introduced type.
* tor-config: new derive_deftly(TorConfig) template.Nick Mathewson2025-12-091-0/+2
| | | | | | | | This template is meant to replace most of our use of derive_builder for configuration objects. Where possible and reasonable, it delegates to existing macros, and automatically infers what special patterns we use for individual types. In other cases, it uses compile-time errors to inform the caller about pattern violations.
* Merge branch 'netdoc-authcert' into 'main'Clara Engler2025-12-041-0/+1
|\ | | | | | | | | tor-netdoc: Implement new authority certificates See merge request tpo/core/arti!3462
| * tor-netdoc: Implement new authority certificatesClara Engler2025-12-041-0/+1
| | | | | | | | | | | | | | | | | | This commit implements directory authority certificates using the `parse2` approaches. For now, those are in a module `doc::authcert::tmp`, with the eventual goal of moving it into its super module after removing/deprecating the legacy types.
* | Merge branch 'bump-criterion' into 'main'Ian Jackson2025-12-041-6/+27
|\ \ | |/ |/| | | | | | | | | proto: Bump criterion, criterion-cycles-per-byte to 0.8.0 Closes #2281 See merge request tpo/core/arti!3528
| * proto: Bump criterion, criterion-cycles-per-byte to 0.8.0Gabriela Moldovan2025-12-041-6/+27
| | | | | | | | Closes #2281
* | Merge branch 'protover_refactor' into 'main'Nick Mathewson2025-12-041-1/+2
|\ \ | | | | | | | | | | | | Make Protocols type inherently interned; add notes about usage. See merge request tpo/core/arti!3524
| * | netdoc: Remove protocol interning.Nick Mathewson2025-12-031-1/+0
| | | | | | | | | | | | (It's now done in tor_protover.)
| * | protover: Intern ProtocolsInner.Nick Mathewson2025-12-031-0/+1
| | | | | | | | | | | | | | | This will help us with all the places we want to copy around Protocols objects.
| * | Move intern from tor-netdir to tor-basic-utils and make it pubNick Mathewson2025-12-031-0/+1
| |/
* / Update to derive-deftly 1.6.0Ian Jackson2025-12-031-4/+4
|/ | | | | | | | | This has: * Fixes to hygiene spans from the new modules feature, needed for my WIP netdoc encoder derive. * A substantially richer `${error }` construct.
* Revert "release: Bump criterion to 0.8.0"Gabriela Moldovan2025-12-021-57/+3
| | | | | | See #2281 This reverts commit c00d381068cd8b88d6b12d8c7be8d4e1dafc828d.
* release: Bump criterion to 0.8.0Gabriela Moldovan2025-12-021-3/+57
| | | | | | | | | They've bumped their MSRV to 1.86 in this release, but that is okay, because we are also on 1.86. See the [criterion changelog] for more details. [criterion changelog]: https://github.com/criterion-rs/criterion.rs/blob/master/CHANGELOG.md#080---2025-11-29
* release: Bump metrics-exporter-prometheus to 0.18.0Gabriela Moldovan2025-12-021-2/+2
| | | | Part of #2278
* release: Run cargo updateGabriela Moldovan2025-12-021-205/+203
| | | | Part of #2278
* Bump arti crate to 1.8.0Gabriela Moldovan2025-12-021-1/+1
| | | | | | | | Done using: ``` cargo set-version --bump minor -p arti ```
* Bump all the unstable tor- and arti- crates to 0.37.0.Gabriela Moldovan2025-12-021-48/+48
| | | | | | | | | Done using: ``` for crate in $(./maint/list_crates | rg '^(tor|arti-)'); do cargo set-version -p $crate 0.37.0 done
* Bump the versions of the non-{arti-,tor-} cratesGabriela Moldovan2025-12-021-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The non-{arti-,tor-} crates are: ``` ./maint/list_crates | rg -v '^(tor|arti)' oneshot-fused-workaround slotmap-careful test-temp-dir fslock-guard hashx equix caret fs-mistrust safelog retry-error futures-copy ``` We split them in the following categories: * crates with no changes (no version bumps): None ``` maint/changed_crates -v "arti-v$LAST_VERSION" 2>&1 >/dev/null | grep -i "no change" | grep -v '\(tor\|arti\)-' ``` * crates that only have non-functional changes (bump the patch version, but not the dependend-on version): - oneshot-fused-workaround - slotmap-careful - test-temp-dir - fslock-guard - equix - caret - safelog - retry-error * crates where functional changes were made, but no APIs were added or broken: - hashx - fs-mistrust - futures-copy * crates where APIs were broken (bump minor): None The bumps from this commit were created using this script: ``` PATCH_NF=( oneshot-fused-workaround slotmap-careful test-temp-dir fslock-guard equix caret safelog retry-error ) PATCH=" hashx fs-mistrust futures-copy " ./maint/bump_nodep "${PATCH_NF[@]}" for crate in $PATCH; do cargo set-version --bump patch -p $crate; done ```
* Merge branch 'saturating-st' into 'main'Clara Engler2025-11-261-0/+7
|\ | | | | | | | | tor-dirserver: Use `saturating-time` See merge request tpo/core/arti!3460
| * tor-dirserver: Use `saturating-time`Clara Engler2025-11-261-0/+7
| | | | | | | | | | | | | | This commit replaces the custom implementation of `SaturatingSystemTime` with the `saturating-time` crate, additionally adding a new type to the `database` module called `Timestamp`, in order to have a convenient wrapper around `ToSql` and `FromSql`.
* | Merge branch 'deftly-151' into 'main'Clara Engler2025-11-261-4/+4
|\ \ | | | | | | | | | | | | Update to derive-deftly 1.5.1 See merge request tpo/core/arti!3494
| * | Update to derive-deftly 1.5.1Ian Jackson2025-11-251-4/+4
| | | | | | | | | | | | To pick up the expect failure error message improvement.
* | | fs-mistrust: Treat "" as a NotFound Path.Nick Mathewson2025-11-241-0/+1
|/ / | | | | | | | | | | | | | | | | This makes fs-mistrust consistent with stat() and mkdir() and friends, which consider "" to be an invalid path. Previously, "" was accepted whenever mistrust was enabled, but rejected whenever mistrust was disabled. Closes #2265.
* | Add `hsc key ctor-migrate` subcommandhjrgrn2025-11-241-0/+1
| |
* | Merge branch 'relay-or-config' into 'main'opara2025-11-191-0/+1
|\ \ | | | | | | | | | | | | arti-relay: Add config options for OR port See merge request tpo/core/arti!3466
| * | arti-relay: listen at configured OR portsSteven Engler2025-11-121-0/+1
| | |
* | | Merge branch 'refactor-http-errors' into 'main'Nick Mathewson2025-11-191-0/+3
|\ \ \ | | | | | | | | | | | | | | | | http-connect: Improve error reporting. See merge request tpo/core/arti!3476
| * | | http_connect: Report end reasons for HTTP CONNECT failures.Nick Mathewson2025-11-191-0/+2
| | | |
| * | | tor-error: Add support for ErrorKind->HTTP status conversionNick Mathewson2025-11-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It makes more sense to have the conversion here, so it can use an exhaustive match over ErrorKind. This isn't the final API; I'm just moving the code from `arti`.
* | | | Merge branch 'relayflags-enumset' into 'main'Ian Jackson2025-11-181-1/+22
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Replace RelayFlags, using enumset See merge request tpo/core/arti!3477
| * | | | tor-netdoc: Remove bitflags from Cargo.tomlIan Jackson2025-11-181-1/+0
| | | | |
| * | | | tor-netdoc: Replace RelayFlag with an enum and RelayFlags with an EnumSetIan Jackson2025-11-181-0/+22
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now: `RelayFlag` is a single flag, which is a different type to `RelayFlags`. `FromStr` and `Display` are now implemented in a normal way for a single flag. We don't use bitflags, with its funky input syntax, any more. Instead, we have a normal enum. No longer is it possible to have a `RelayFlags` with "unknown bits" set (whatever that means). (Therefore, an associated test case for this is now gone.) The names are principally specified just as enum variant names. The enum variant names can be identical to the network document keywords. Briefly, we provide constants in capitals, for the benefit of all the call sites. That means that *this* commit can contain only the primary changes. A few macro-generated things have been adjusted in this commit, but they are actually going to go away. Indentation is now wrong. We'll fix that at the end.
* / / / maint: upgrade num-bigint-dig to 0.8.6Steven Engler2025-11-181-3/+2
|/ / / | | | | | | | | | | | | | | | This appears to resolve the warning: > warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4
* | | Merge branch 'x509-tls-cert' into 'main'Nick Mathewson2025-11-131-0/+14
|\ \ \ | |/ / |/| | | | | | | | | | | | | | x509: Support generating the keys and certs that relays need for TLS Closes #2205 See merge request tpo/core/arti!3349
| * | x509: Support generating the keys and certs that relays need.Nick Mathewson2025-11-121-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Although we never need to actually check the signature on the other party's x509 certificate, A relay does need a certificate and a private key in order to be a proper TLS server. In this function, I've added support for making an ersatz P-256 certificate certifying a P-256 key. See the code for info about the rationale here. (Tor supports this, since it doesn't look at the key at all: only the TLS layer cares about that.) native_tls and rustls expect to get their keys and certs in different forms, so this code provides them. (Note that we don't expect to use native_tls with relays in the first place, but it might be useful for lower-level interop testing.) Closes #2205.
* | | Merge branch 'v6only' into 'main'opara2025-11-121-0/+1
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | tor-rtcompat: Use a consistent listen implementation, and set `IPV6_V6ONLY` for listening sockets on `cfg(unix)` Closes #2246 See merge request tpo/core/arti!3457
| * | tor-rtcompat: use a consistent `listen()` implementationSteven Engler2025-11-101-0/+1
| |/ | | | | | | | | | | This gives us a consistent `listen()` implementation across runtimes, and gives us flexibility to customize the bind/listen process for TCP sockets.
* | Merge branch 'relay-bin-4' into 'main'opara2025-11-111-0/+1
|\ \ | |/ |/| | | | | arti-relay: Add OR port listener task See merge request tpo/core/arti!3396