summaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
* | | tor-hsservice: prelude: Move imports from helpers.rsIan Jackson2024-03-052-4/+3
| | |
* | | tor-hsservice: prelude: Use prelude names in anon_level.rsIan Jackson2024-03-051-5/+7
| | |
* | | tor-hsservice: prelude: Move imports from err.rsIan Jackson2024-03-052-12/+2
| | |
* | | tor-hsservice: prelude: Move imports from config.rsIan Jackson2024-03-052-11/+6
| | |
* | | tor-hsservice: prelude: Move imports from ipt_mgr.rsIan Jackson2024-03-052-53/+30
| | |
* | | tor-hsservice: prelude: Move imports from lib.rsIan Jackson2024-03-052-43/+29
| | |
* | | tor-hsservice: prelude: Move most imports from ipt_estanblish.rsIan Jackson2024-03-053-36/+67
| | |
* | | tor-hsservice: Change: future::pending: use the one from futures-rsIan Jackson2024-03-051-1/+2
| | | | | | | | | | | | | | | | | | | | | publish::backoff used std::future::pending, whereas generally we mostly use futures::future::pending. This change ought to make no difference.
* | | tor-hsservice: Change: Use tor-async-utils oneshot, not raw one from futuresIan Jackson2024-03-051-1/+1
| | | | | | | | | | | | This may fix some bug or other.
* | | tor-hsservice: Move svc.rs contents into lib.rsIan Jackson2024-03-058-721/+719
| | |
* | | tor-hsservice: Hide IptLocalId field, and provide test constructorIan Jackson2024-03-053-4/+5
| | |
* | | tor-hsservice: Move IptLocalId into a moduleIan Jackson2024-03-053-102/+107
| | |
* | | tor-hsservice: Move publish out of svcIan Jackson2024-03-058-11/+10
| | |
* | | tor-hsservice: Move rend_handshake.rs out of svcIan Jackson2024-03-055-3/+3
| | |
* | | tor-hsservice: Move ipt_establish.rs out of svcIan Jackson2024-03-054-5/+5
| | |
* | | tor-hsservice: Move netdir.rs out of svcIan Jackson2024-03-055-4/+4
|/ /
* | Merge branch 'remove-semver' into 'main'Ian Jackson2024-03-059-26/+0
|\ \ | | | | | | | | | | | | Remove semver.md files from arti 1.2.0 release. See merge request tpo/core/arti!2022
| * | Remove semver.md files from arti 1.2.0 release.Gabriela Moldovan2024-03-049-26/+0
| |/
* | Merge branch 'fslock_test' into 'main'Ian Jackson2024-03-052-0/+44
|\ \ | | | | | | | | | | | | fslock-guard: Add unit tests See merge request tpo/core/arti!2013
| * | fslock-guard: Add unit testsTobias Stoeckmann2024-03-012-0/+44
| | | | | | | | | | | | | | | This requires reordering of workspace members due to new internal dev-dependency.
* | | Merge branch 'windows_comments' into 'main'Ian Jackson2024-03-052-13/+3
|\ \ \ | | | | | | | | | | | | | | | | Fix Windows documentation See merge request tpo/core/arti!2011
| * | | fslock-guard: Update Windows commentsTobias Stoeckmann2024-03-011-12/+2
| | | | | | | | | | | | | | | | | | | | The implementation changed in bd52d43779ed3a61d000bf16e96ed09ad924e141 but comments have not been updated.
| * | | test-temp-dir: Fix commentTobias Stoeckmann2024-03-011-1/+1
| |/ / | | | | | | | | | | | | Windows systems use comma instead of proclaimed colon. The code is correct, just the comment has to be fixed.
* | | Merge branch 'deny-unchecked-duration-substraction' into 'main'Ian Jackson2024-03-0553-0/+53
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | deny clippy::unchecked_duration_subtraction Closes #1304 See merge request tpo/core/arti!2008
| * | | deny clippy::unchecked_duration_subtractiontrinity-1686a2024-02-2953-0/+53
| |/ /
* | | Merge branch 'runtime' into 'main'Ian Jackson2024-03-052-4/+9
|\ \ \ | |_|/ |/| | | | | | | | arti config watch: Pass a Runtime, not a TorClient See merge request tpo/core/arti!2017
| * | arti config watch: Pass Runtime as first argumentIan Jackson2024-03-042-3/+3
| | | | | | | | | | | | That seems often how we do things elsewhere.
| * | arti config watch: Pass a Runtime, not a TorClient (fmt)Ian Jackson2024-03-041-1/+6
| | |
| * | arti config watch: Pass a Runtime, not a TorClientIan Jackson2024-03-042-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I found this confusing in !2009, where the variable is unused on Windows: I wondered if this meant our config-reloading only worked on Unix, since "obviously it would need the TorClient". But actually the TorClient was only used *in this argument* for its runtime. The actual reconfiguration of the TorClient is doen by it being in one of the ReconfigurableModule's. Change the type of the argument for clarity.
* | | 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-042-2/+2
| | | | | | | | | | | | | | | The version of its `arti-client` dependency changes from 0.14.0 -> 0.14.1.
* | | tor-dirclient: Bump minor version.Gabriela Moldovan2024-03-044-4/+4
| | | | | | | | | | | | | | | `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-042-2/+2
| | | | | | | | | | | | | | | `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-045-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* | | Bump patchlevel for tor-hscrypto.Gabriela Moldovan2024-03-041-1/+1
| | | | | | | | | | | | | | | | | | tor-hscrypto depends on tor-units, whose patchlevel was bumped. This bumps patchlevel for tor-hscrypto without updating its dependents.
* | | arti: Bump minor version.Gabriela Moldovan2024-03-043-3/+3
| | |
* | | Bump the minor version, for crates with breaking changes.Gabriela Moldovan2024-03-0421-49/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0421-50/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0414-36/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 ```
* | | Bump patchlevel (not dependents) on crates with trivial changes.Gabriela Moldovan2024-03-043-3/+3
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | This includes: ``` fs-mistrust tor-linkspec tor-chanmgr ``` Done with ``` ./maint/bump_nodep fs-mistrust tor-linkspec tor-chanmgr ```
* | Merge branch 'analyzer_windows_problems' into 'main'gabi-2502024-03-043-2/+6
|\ \ | | | | | | | | | | | | Fix rust-analyzer problems seen with default features on Windows See merge request tpo/core/arti!2009
| * | arti: do not warn about unused variable on WindowsTobias Stoeckmann2024-02-291-0/+1
| | | | | | | | | | | | | | | Do not complain on non-unix systems that variable client is not used. It is only accessed within the function on unix systems.
| * | tor-keymgr: Fix compilation on WindowsTobias Stoeckmann2024-02-291-0/+1
| | | | | | | | | | | | | | | The PermissionsExt::from_mode function is not available on Windows and disabled in all other places of the file. Do so here as well.
| * | arti: define RpcConfig only if neededTobias Stoeckmann2024-02-291-1/+1
| | | | | | | | | | | | The RpcConfig struct is only used if feature rpc is selected.
| * | arti: use name bindings only if neededTobias Stoeckmann2024-02-291-1/+3
| |/ | | | | | | | | The local name binding for tor_config::define_list_builder_accessors is only needed if feature onion-service-service is selected.
* | Merge branch 'windows_tests' into 'main'gabi-2502024-03-042-7/+15
|\ \ | | | | | | | | | | | | Fix two Windows tests See merge request tpo/core/arti!2015
| * | arti: Fix Windows testTobias Stoeckmann2024-03-011-4/+10
| | | | | | | | | | | | | | | Windows has a 100-nanosecond precision, so avoid test failure due to a known system limitation.
| * | tor-persist: Improve test portabilityTobias Stoeckmann2024-03-011-3/+5
| |/ | | | | | | | | | | | | | | | | The test fails on Windows systems for two reasons: - File separator \ is printed in error message instead of expected / - Temporary files are located within home directory, which is anonymized Test failure can be provoked on Linux as well by setting TMPDIR to point to a directory within HOME.
* | Merge branch 'fslock_windows' into 'main'gabi-2502024-03-041-2/+2
|\ \ | | | | | | | | | | | | fslock-guard: Fix Windows compilation See merge request tpo/core/arti!2014