summaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'fixup-features' into 'main'Ian Jackson2026-03-3026-5/+33
|\ | | | | | | | | Fix up cargo features See merge request tpo/core/arti!3828
| * Run cargo sort --workspace and commit the parts we wantIan Jackson2026-03-304-4/+11
| |
| * Plumb web-time-compat/full dependency through everywhere.Ian Jackson2026-03-3026-5/+26
| | | | | | | | As generated by maint/fixup-features.
* | arti: test: rename unrecognized-entry to hs_unrecognized_entry to fix the CIhjrgrn2026-03-304-3/+3
| | | | | | | | This changes save us from adding a new entry in .editorconfig
* | arti: test: correct typo in hss.rshjrgrn2026-03-301-2/+2
| |
* | arti: test: Add description of the test file structure of the keys test suitehjrgrn2026-03-301-0/+43
| |
* | arti: tests: Rename some keys test files using more intuitive nameshjrgrn2026-03-304-5/+5
| |
* | arti: test: Update tests README.mdhjrgrn2026-03-301-5/+18
| |
* | arti: test: Remove unused test data hsc-common/hsc.inhjrgrn2026-03-305-37/+0
|/ | | | | These test files were previously used by hsc-common/hsc.md but are now ignored
* Merge branch 'webtime-v3' into 'main'Nick Mathewson2026-03-26133-312/+626
|\ | | | | | | | | | | | | Port to use web-time for compatibility with wasm32 Closes #2356 See merge request tpo/core/arti!3820
| * arti-bench: Port to web-time-compatNick Mathewson2026-03-262-9/+10
| |
| * arti: Port to web-time-compat.Nick Mathewson2026-03-262-6/+4
| |
| * arti-client: Port to web-time-compat.Nick Mathewson2026-03-263-11/+10
| |
| * tor-hssrvice: port to web-time-compat.Nick Mathewson2026-03-268-18/+20
| |
| * tor-hsclient: port to web-time-compat.Nick Mathewson2026-03-264-6/+5
| |
| * dirmgr: port to web-time-compat.Nick Mathewson2026-03-266-14/+25
| |
| * tor-dirclient: port to web-time-compat.Nick Mathewson2026-03-263-2/+5
| |
| * circmgr: Port to web-time-compat.Nick Mathewson2026-03-2613-26/+37
| |
| * tor-guardmgr: Port to web_time_compat.Nick Mathewson2026-03-2611-62/+69
| |
| * tor-ptmgr: port to web-time-compat.Nick Mathewson2026-03-262-4/+5
| |
| * tor-chanmgr: port to web-time-compat.Nick Mathewson2026-03-262-11/+10
| |
| * tor-netdir: port to web-time-compat.Nick Mathewson2026-03-263-3/+5
| |
| * tor-netdoc: Port to web-time-compatNick Mathewson2026-03-264-5/+8
| |
| * tor-proto: Port to web-time-compatNick Mathewson2026-03-2620-37/+45
| |
| * tor-relay-crypto: port to web-time-compatNick Mathewson2026-03-263-5/+5
| |
| * tor-keymgr: migrate to web-time-compat.Nick Mathewson2026-03-263-3/+4
| |
| * tor-persist: migrate to web-time-compat.Nick Mathewson2026-03-265-16/+19
| |
| * tor-hcrypto: Port to web-time-compatNick Mathewson2026-03-263-6/+5
| |
| * tor-cert: Port to web-time-compatNick Mathewson2026-03-264-9/+12
| |
| * tor-checkable: Port to web-time-compatNick Mathewson2026-03-263-9/+11
| |
| * log-ratelim: Port to web-time-compat.Nick Mathewson2026-03-262-1/+2
| |
| * rtcompat, rtmock: Port to web-time-compat.Nick Mathewson2026-03-2614-33/+37
| |
| * tor-error: Port to web-time-compat.Nick Mathewson2026-03-262-10/+11
| |
| * tor-cert-x509: Port to web-time-compat.Nick Mathewson2026-03-264-4/+7
| |
| * Add a new web-time-compat crate.Nick Mathewson2026-03-265-0/+216
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This crate provides a compatibility layer in front of web-time, which will serve three purposes: 1. Saving us from having to build web_time when we don't need it. (This is mainly aesthetic.) 2. Allowing us to continue to use std::time::SystemTime to represent our wall-clock times and dates. This is fairly valuable, since we use a bunch of external crates that expect std::time::SystemTime inputs and don't want a web_time::SystemTime. 3. Add extension methods to web_time::Instant and std::time::Instant so that we can enforce the use of web_time::Instant by disallowing std::time::Instant::now(). (We can't just use the same trick as in (2) to use std::time::Instant everywhere, since there is no way to convert a web_time::Instant to a std::time::Instant.)
| * retry-error: Port to web-time.Nick Mathewson2026-03-262-2/+39
| | | | | | | | | | | | | | | | This is independent of other crates, since this one is lower-level than the tor-* crates. Note that we're using std::time::SystemTime except for its `now` method; this will be our practice elsewhere too.
* | Merge branch 'ahf/wasm-arti-client-build-error' into 'main'Alexander Hansen Færøy2026-03-261-1/+3
|\ \ | | | | | | | | | | | | Progress on arti-client compilation on wasm32 target. See merge request tpo/core/arti!3819
| * | Progress on arti-client compilation on wasm32 target.Alexander Hansen Færøy2026-03-261-1/+3
| |/ | | | | | | | | | | This patch makes tempfile a dev-dependency for all non-wasm targets. This makes us able to get one step further in compiling arti-client for Wasm as it get rid of a build error related to the errno crate.
* | Merge branch 'http-connect-wrapup' into 'main'Nick Mathewson2026-03-267-27/+101
|\ \ | | | | | | | | | | | | | | | | | | arti: Add option and documentation for http connect, then mark it stable. Closes #2409 See merge request tpo/core/arti!3811
| * | Feature-gate the proxy.enable_http_connect optionNick Mathewson2026-03-261-1/+14
| | |
| * | Mark the http-connect feature as stable.Nick Mathewson2026-03-251-2/+2
| | | | | | | | | | | | | | | | | | | | | (It is not yet in default, though we intend that it eventually should be.) Closes #2409.
| * | arti: Add an option to disable http_connect.Nick Mathewson2026-03-256-25/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | This option affects all socks listeners, because: - We don't have a convenient way to associate an option with each port. - The main purpose of having this option is as a switch in case we discover a major problem with this code.
* | | proto: Add TODO about relay memquota setupGabriela Moldovan2026-03-261-0/+6
| | |
* | | proto: Use the inbound CircuitAccount when extending circuit (fmt)Gabriela Moldovan2026-03-262-2/+9
| | |
* | | proto: Use the inbound CircuitAccount when extending circuitGabriela Moldovan2026-03-263-4/+11
| |/ |/| | | | | | | This was previously creating a new CircuitAccount in `new_outbound_circ()`, and then immediately dropping it.
* | WASM: Enable `wasm_js` feature for getrandom for tor-basic-utils.Alexander Hansen Færøy2026-03-261-0/+3
| |
* | arti: Mostly make clippy happy for wasm with --no-default-features.Nick Mathewson2026-03-253-1/+5
| | | | | | | | | | (With no-default-features there is no runtime, and that still causes a compiler error.)
* | arti-client: Stub out usage of FsStateMgr on wasm32-unknown.Nick Mathewson2026-03-252-7/+41
| | | | | | | | | | | | | | | | The replacement (TestingStateMgr) is not correct, but it will compile until we have a supported state manager. (This made cargo-sort have me move a section around. Not sure why it cares.)
* | consdiff: Additionally require tor-netdoc/ns-vote.Nick Mathewson2026-03-251-1/+2
| | | | | | | | Without it, CI seems to fail.
* | consdiff: Only use the single feature we require from tor-netdoc.Nick Mathewson2026-03-251-1/+1
| | | | | | | | | | Requiring all features, including experimental features, is too general.