summaryrefslogtreecommitdiff
path: root/Cargo.lock
Commit message (Collapse)AuthorAgeFilesLines
* arti: Bump patchlevel.Gabriela Moldovan2024-05-151-1/+1
| | | | This contains the fix for TROVE-2024-003 (arti#1409).
* tor-circmgr: Bump patchlevel.Gabriela Moldovan2024-05-151-1/+1
|
* Update lockfileIan Jackson2024-04-301-43/+43
| | | | cargo fetch --offline
* cargo update, to update our Cargo.lockIan Jackson2024-04-301-208/+244
|
* Rename tor-memtrack to tor-memquotaIan Jackson2024-04-291-1/+1
|
* tor-memtrack: Add dependencies and imports we're going to useIan Jackson2024-04-231-0/+18
| | | | Establish the principal in-crate namespace.
* tor-memtrack: Introduce new crate (empty)Ian Jackson2024-04-231-0/+8
| | | | | | | Put it just above tor-rpcbase, which maybe it would want to use for metrics export via RPC? For now we have some dead code `#[allow]`s.
* Switch to figment 1.0.18 and extract_lossyNick Mathewson2024-04-221-2/+2
| | | | | | | The new (dubiously named) `Figment::extract_lossy` method can treat decode numbers from strings, and booleans from numbers or strings. This makes the behavior compatible with config-rs, and should (I hope) finally allow us to migrate.
* Convert tor-config to use figment.Nick Mathewson2024-04-221-37/+33
| | | | | There are probably ways to make this a bit more elegant, but at least the tests still pass.
* tor-guardmgr: Move vanguard set replenishing logic to VanguardSetsTrackedMut.Gabriela Moldovan2024-04-221-0/+1
| | | | | | A lot of this is code motion: the code added to `VanguardSetsTrackedMut` was copied from the `VanguardMgr` impl, so I recommend reviewing this with `git diff --color-moved=zebra`.
* rustls: Avoid aws-lc-rs for now.Nick Mathewson2024-04-221-164/+0
|
* Upgrade to futures-rustls 0.26.0, rustls 0.23.5.Nick Mathewson2024-04-221-44/+212
| | | | | | | | | The rustls upgrade will solve #1377 and CVE-2024-32650. Note that we've had to patch our RustlsProvider impl a bit in order to keep the tests passing. See comments. Closes #1377.
* Merge branch 'rpc_deftly' into 'main'Ian Jackson2024-04-111-60/+43
|\ | | | | | | | | Refactor RPC system to use derive_deftly; add generic-object support See merge request tpo/core/arti!2079
| * Upgrade derive-deftly requirement to 0.10.3Nick Mathewson2024-04-111-60/+40
| | | | | | | | We're taking this for the fix to derive-deftly#52.
| * Port many of the macros in tor-rpcbase to use derive-deftly.Nick Mathewson2024-04-041-4/+7
| | | | | | | | | | | | This simplifies our implementation logic in a few places, and simplifies our invocation syntax greatly. There are a few infelicities, noted in `TODO RPC` comments.
* | tor-guardmgr: Add tests for the vanguard manager.Gabriela Moldovan2024-04-051-0/+1
| |
* | tor-netdir: Implement TestNetDirProvider::events().Gabriela Moldovan2024-04-051-0/+1
|/
* tor-linkspec: Use derive-deftly rather than strum for same_relay_idsIan Jackson2024-04-031-0/+1
|
* Merge branch 'deftly' into 'main'Ian Jackson2024-04-031-45/+26
|\ | | | | | | | | Switch to derive-deftly See merge request tpo/core/arti!2066
| * Switch to derive-deftlyIan Jackson2024-04-031-45/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the combination of a number of separate commits, many of which were generated by seddery, and then rebased and squashed. Cargo.toml perl -i~ -pe 's{^derive-adhoc}{derive-deftly = "0.10"}' crates/*/Cargo.toml (not regenerated during rebase) update Cargo.lock `cargo fetch` without --locked (regenerated during rebase) seddery git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{^use derive_adhoc}{use derive_deftly}' git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bdefine_derive_adhoc\b}{define_derive_deftly}g' git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bAdhoc\b}{Deftly}g if m{derive}' git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\#\[derive_adhoc\b}{#[derive_deftly}g' git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{use derive_adhoc}{use derive_deftly}' git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bderive_adhoc\b}{derive_deftly_adhoc} if m{use.*deftly}' git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bderive_adhoc!}{derive_deftly_adhoc!}' (not regenerated during rebase) Manually add `#[derive_deftly_adhoc]` where needed. seddery git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\#\[adhoc\b}{#[deftly}g' git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bderive_adhoc_template}{derive_deftly_template}' (not regenerated during rebase) Manually fix up an import Manually update some builder attrs Manually fix up tor_rtmock::time_core This was missed in my seddery, due to me rebasing the branch and not redoing the seddery.
* | remove unused dependenciestrinity-1686a2024-04-021-41/+0
|/ | | | Edited-by: Nick Mathewson <[email protected]>
* Bump arti crate to 1.2.1Nick Mathewson2024-04-021-1/+1
| | | | | | | Done with ``` cargo set-version -p arti --bump patch ```
* Update unstable `tor/arti-*` crates to 0.17.0.Nick Mathewson2024-04-021-44/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Done with: ``` CRATES=" tor-basic-utils tor-async-utils tor-error tor-config tor-events tor-units tor-geoip tor-rtcompat tor-rtmock tor-log-ratelim tor-rpcbase tor-llcrypto tor-protover tor-bytes tor-hscrypto tor-hspow tor-socksproto tor-checkable tor-cert tor-linkspec tor-cell tor-proto tor-netdoc tor-consdiff tor-netdir tor-relay-selection tor-congestion tor-persist tor-chanmgr tor-ptmgr tor-guardmgr tor-circmgr tor-dirclient tor-dirmgr tor-keymgr tor-hsclient tor-hsservice tor-hsrproxy arti-client arti-rpcserver arti-config arti-hyper arti-bench arti-testing " for crate in $CRATES; do cargo set-version -p "$crate" 0.17.0 done ```
* Bump patchlevel versions on non-{tor/arti} crates.Nick Mathewson2024-04-021-8/+8
| | | | | | | | | | | | | | | | These have all had backward-compatible changes. Generated with: ``` cargo set-version --bump patch -p fs-mistrust cargo set-version --bump patch -p test-temp-dir cargo set-version --bump patch -p fslock-guard cargo set-version --bump patch -p hashx cargo set-version --bump patch -p equix cargo set-version --bump patch -p caret cargo set-version --bump patch -p safelog cargo set-version --bump patch -p retry-error ```
* Run "cargo update" in preparation for next releaseNick Mathewson2024-04-011-273/+296
|
* tor-rtcompat: Provide coarsetime APIs and RealCoarseTimeProviderIan Jackson2024-03-251-0/+3
|
* tor-circmgr: Add functions for checking if vanguards are enabled.Gabriela Moldovan2024-03-201-0/+1
|
* Remove now-needless dependencies on the "config" crateNick Mathewson2024-03-131-2/+1
| | | | | arti and arti-testing no longer need it; tor-config no longer needs it in dev-dependencies.
* tor_config: Hide macro-only re-exports.Nick Mathewson2024-03-131-1/+0
| | | | | Our macros use these exports, but we don't need everybody else to be able to see them.
* ptmgr: Use Itertools directly.Nick Mathewson2024-03-131-0/+1
| | | | Previously it used tor_config::Itertools, which is silly.
* relay-cell: Update relay cell decoding API for prop340Jim Newsome2024-03-121-0/+1
| | | | | | | | | | | Prop 340: https://spec.torproject.org/proposals/340-packed-and-fragmented.html This updates the decoding API to support multiple versions of the relay cell encoding, including the new encoding proposed in prop340 that supports relay message packing and fragmentation. This commit doesn't actually add support for that new encoding yet.
* guardmgr: refactor most logic for relay selectionNick Mathewson2024-03-121-0/+1
|
* ipt_mgr: convert to use RelaySelector.Nick Mathewson2024-03-121-0/+1
|
* New crate to define a high-level API for relay selectionNick Mathewson2024-03-121-0/+7
|
* Create a new empty tor-relay-selection crate.Nick Mathewson2024-03-121-0/+9
|
* tor-guardmgr: Add vanguards API skeleton.Gabriela Moldovan2024-03-111-0/+1
| | | | Part of #1275
* Use tor_basic_utils::PathExt::display_lossyIan Jackson2024-03-051-0/+2
| | | | | Change Path::display to this new function, in call sites where it's being used for a diagnostic.
* Merge branch 'fslock_test' into 'main'Ian Jackson2024-03-051-0/+1
|\ | | | | | | | | fslock-guard: Add unit tests See merge request tpo/core/arti!2013
| * fslock-guard: Add unit testsTobias Stoeckmann2024-03-011-0/+1
| | | | | | | | | | This requires reordering of workspace members due to new internal dev-dependency.
* | upgrade mio to 0.8.11trinity-1686a2024-03-051-2/+2
| | | | | | | | fix rustsec RUSTSEC-2024-0019
* | arti-hyper: Bump patchlevel.Gabriela Moldovan2024-03-041-1/+1
| | | | | | | | | | The version of its `arti-client` dependency changes from 0.14.0 -> 0.14.1.
* | arti-rpcserver: Bump patchlevel.Gabriela Moldovan2024-03-041-1/+1
| | | | | | | | | | The version of its `arti-client` dependency changes from 0.14.0 -> 0.14.1.
* | tor-dirclient: Bump minor version.Gabriela Moldovan2024-03-041-1/+1
| | | | | | | | | | `tor-dirclient` uses `tor-proto` in its public API, and its `tor-proto` version was bumped from 0.12.1 -> 0.16.1.
* | tor-ptmgr: Bump minor version.Gabriela Moldovan2024-03-041-1/+1
| | | | | | | | | | `tor-ptmgr` uses `tor-config` in its public API, and `tor-config` had its minor version bumped.
* | tor-congestion: Bump minor version.Gabriela Moldovan2024-03-041-1/+1
| | | | | | | | | | `tor-congestion` uses `tor_netdir::params::NetParameters` in its public API, `tor-netdir` has just had a patchlevel bump.
* | tor-cert: Bump minor version.Gabriela Moldovan2024-03-041-2/+2
| | | | | | | | | | | | | | | | | | | | We bumped the minor version of `tor_checkable`, which is used in the `tor-cell` public APIs (e.g. `Ed25519Cert` implements `tor_checkable::Timebound`, using `tor_checkable::TimeValidityError` as its error type). This bumps the minor version of `tor-cert` (including for its dependents).
* | arti: Bump minor version.Gabriela Moldovan2024-03-041-1/+1
| |
* | Bump the minor version, for crates with breaking changes.Gabriela Moldovan2024-03-041-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | APIs were broken in these pre-1.0.0 crates: ``` tor-keymgr tor-config tor-checkable tor-circmgr tor-dirmgr tor-hsclient tor-hsservice tor-hsrproxy ``` Done with: ``` cargo set-version --bump minor -p tor-keymgr cargo set-version --bump minor -p tor-config cargo set-version --bump minor -p tor-checkable cargo set-version --bump minor -p tor-circmgr cargo set-version --bump minor -p tor-dirmgr cargo set-version --bump minor -p tor-hsclient cargo set-version --bump minor -p tor-hsservice cargo set-version --bump minor -p tor-hsrproxy ```
* | Bump patchlevel of pre-1.0.0 crates with new APIs.Gabriela Moldovan2024-03-041-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | APIs were added: ``` tor-units tor-cell tor-proto tor-netdir arti-client ``` Done with: ``` cargo set-version --bump patch -p tor-units cargo set-version --bump patch -p tor-cell cargo set-version --bump patch -p tor-proto cargo set-version --bump patch -p tor-netdir cargo set-version --bump patch -p arti-client ```
* | Bump patchlevel of crates with functional changes.Gabriela Moldovan2024-03-041-9/+9
|/ | | | | | | | | | | | | | | | | | | | | | Functional changes were made, but no APIs were added or broken: ``` tor-events (async_broadcast 0.6.0 -> 0.7.0) tor-netdoc (signature 1 -> 2) tor-guardmgr arti-testing (config 0.13.4 -> 0.14.0) tor-persist (breaking changes gated behind experimental feature) fslock-guard (fix lockfile_has_path compilation on Windows) ``` Done with: ``` cargo set-version --bump patch -p tor-events cargo set-version --bump patch -p tor-netdoc cargo set-version --bump patch -p tor-guardmgr cargo set-version --bump patch -p arti-testing cargo set-version --bump patch -p tor-persist cargo set-version --bump patch -p fslock-guard ```