| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Require tracing-subscriber 0.3.20
See merge request tpo/core/arti!3221
|
| | |/ / /
| | | |
| | | |
| | | | |
Fixes RUSTSEC-2025-0055.
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
various crates: Switch to "assert in const" pattern
See merge request tpo/core/arti!3217
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Replaced use of [`static_assertions::const_assert`] with the newly
available "assert in const" pattern.
Signed-off-by: hashcatHitman <[email protected]>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Replaced use of [`static_assertions::const_assert`] with the newly
available "assert in const" pattern. This completely removes the
dependency on `static_assertions` for `tor-netdir`.
Signed-off-by: hashcatHitman <[email protected]>
|
| | | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Replaced use of [`static_assertions::const_assert`] with the newly
available "assert in const" pattern. This completely removes the
dependency on `static_assertions` for `tor-circmgr`.
Signed-off-by: hashcatHitman <[email protected]>
|
| |\ \ \ \
| |_|/ /
|/| | |
| | | |
| | | |
| | | |
| | | | |
arti: test: Fix `keys` integration test
Closes #2144
See merge request tpo/core/arti!3209
|
| | | | |
| | | |
| | | |
| | | | |
The `keys` integration test now accounts for case-insensitive filesystems
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3186#note_3249820
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We're going to use this to check that we can accept a sub-document
before we parse it. That will make the error come out in the right
place.
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Change from two loops over fields and two ${when}, to one loop with
${select1}. There will be another arm in a moment.
|
| | | | |
| | | |
| | | |
| | | | |
None of these things support enums or unions.
|
| | |/ /
|/| | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
With rustc 1.85, this `expect(unused)` triggers a "lint expectation
unfulfilled" error, because rust thinks the struct *is* used (because of
the d-d `TryFrom` implementation), despite the fact that it's never
actually constructed. This isn't a problem on newer versions (it's
correctly identified as unused/dead code on 1.89, for example).
Using `allow` instead of `expect` is slightly less nice, but it makes
`clippy` pass on 1.85 too.
|
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
fix documentation for StreamPrefs::connect_to_onion_services to match changes in !2506
Closes #2145
See merge request tpo/core/arti!3212
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
changes in !2506
Signed-off-by: Aiden McClelland <[email protected]>
|
| |/ / / |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
Version bumps for arti 1.5.0
See merge request tpo/core/arti!3206
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
We've promised in our README not to bump MSRV in patchlevel
releases. So now this is 1.5.0.
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Per policy, we bump the minor version of every tor-*, arti-* crate
on each release.
We have updated our MSRV, so we're treating this as a breaking
change for our non-(arti/tor)-prefixed crates too.
|
| |/ / |
|
| | | |
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Upgrade to criterion 0.7
Closes #2026
See merge request tpo/core/arti!3199
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Closes #2026.
We can do this now that criterion-cycles-per-byte has also upgraded.
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
Run "fixup-features" in preparation for release.
See merge request tpo/core/arti!3196
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The `TunnelId*` types will be reused in the relay reactor (exit relays
need to have the concept of a "tunnel ID" because of conflux).
Now the `relay::reactor` module only has a single import from `client`
(for the `unwrap_or_shutdown` helper, which we should be able to remove
soon). From now, we will avoid importing anything from `client` in the
`relay` module, and instead prefer refactoring the code as needed (to
pull the implementation-agnostic parts outside of `client`).
This commit has no functional changes, just code motion.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is just code motion (I suggest reviewing with `--color-moved`).
This also moves the implementation-agnostic parts from
`tor_proto::client::circuit` to a new `tor_proto::circuit` module.
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
proto: Add a new RelayCircChanMsg message subclass.
See merge request tpo/core/arti!3198
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This will be used to restrict the types of messages that can be sent on
the relay-specific channels.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This enables us to remove the open-coded implementations in favor of the
derived version.
|
| | |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
The code for generating these is repetitive (see `CreateResponse` and
`ClientChanMsg`), and we will soon need a `RelayChanMsg` type too, so
now is a good time to introduce a helper for generating the boilerplate.
|
| |\ \ \ \
| |_|/ /
|/| | |
| | | |
| | | | |
tor-circmgr: Add more logging about timeout estimation.
See merge request tpo/core/arti!3152
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We're seeing the logic that resets the timeouts when 18/20 connections
fail not triggering when we're expecting it to, this logging may help
figure out what's going on there.
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
tor-proto: Don't allow consecutive XOFF messages
See merge request tpo/core/arti!3197
|
| | | |/ /
| |/| | |
|
| |\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
arti-rpcserver: Check IDs with a tag byte, not a magic length
See merge request tpo/core/arti!3191
|
| | | | | |
|