summaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
* tor-rtcompat: Avoid wildcard dependency requirements.Gabriela Moldovan2025-04-011-1/+1
| | | | | | | | | This is preventing us from publishing `tor-rtcompat`: > error: failed to publish to registry at https://crates.io > > Caused by: > the remote server responded with an error (status 400 Bad Request): wildcard (`*`) dependency constraints are not allowed on crates.io. Crate with this problem: `hex` See https://doc.rust-lang.org/cargo/faq.html#can-libraries-use--as-a-version-for-their-dependencies for more information
* Bump arti crate to 1.4.2Gabriela Moldovan2025-03-313-3/+3
| | | | | | | | Done using: ``` cargo set-version --bump patch -p arti ```
* Bump all the unstable tor- and arti- crates to 0.29.0.Gabriela Moldovan2025-03-3148-440/+440
| | | | | | | | | | Done using: ``` for crate in $(./maint/list_crates | rg '^(tor|arti-)'); do cargo set-version -p $crate 0.29.0 done ```
* Bump the versions of the non-{arti-,tor-} crates.Gabriela Moldovan2025-03-3132-46/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 ``` We split them in the following categories: * crates with no changes (no version bumps): ``` maint/changed_crates -v "arti-v$LAST_VERSION" 2>&1 >/dev/null | grep -i "no change" | grep -v '\(tor\|arti\)-' oneshot-fused-workaround: No change. slotmap-careful: No change. fslock-guard: No change. caret: No change. retry-error: No change. ``` * crates that only have non-functional changes (bump the patch version): - test-temp-dir - equix - fs-mistrust - safelog * crates where APIs were broken (bump minor): - hashx (`RngCore` impl for `SipRand`) The bumps from this commit were created using this script: ``` PATCH=" test-temp-dir equix fs-mistrust safelog " for crate in $PATCH; do cargo set-version --bump patch -p $crate; done MINOR=" hashx " for crate in $MINOR; do cargo set-version --bump minor -p $crate; done ```
* Run cargo update for {hashx,equix}/bench.Gabriela Moldovan2025-03-312-30/+30
| | | | | | | | | Done using ``` (cd crates/hashx/bench && cargo update) (cd crates/equix/bench && cargo update) ```
* Merge branch 'fixup-feats' into 'main'gabi-2502025-03-311-0/+1
|\ | | | | | | | | arti-relay: Run fixup-features. See merge request tpo/core/arti!2895
| * arti-relay: Run fixup-features.Gabriela Moldovan2025-03-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | This fixes up `arti-relay`'s features in preparation for the next release. Done using ``` cargo run -p fixup-features -- --exclude examples/ --exclude maint/ Cargo.toml ``` (plus manually reformatting to insert a blank line).
* | Upgrade to cbindgen 0.28.0Nick Mathewson2025-03-301-1/+1
| |
* | Update expected warnings from cbindgen.Nick Mathewson2025-03-301-51/+0
|/
* Upgrade getrandom dependency to 0.3.2Gabriela Moldovan2025-03-274-2/+6
| | | | | | | | | The `js` feature was replaced by a configuration flag in [0.3.0], so I've checked in a `.cargo/config.toml` for `tor-llcrypto` and `tor-bytes` with `RUSTFLAGS` for selecting the `getrandom` backend to use on wasm32. [0.3.0]: https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md#030---2025-01-25
* Upgrade rustls-wekpki dependency to 0.103.1.Gabriela Moldovan2025-03-271-1/+1
| | | | | | We aren't affected by any of the breaking changes from [0.103.0]. [0.103.0]: https://github.com/rustls/webpki/releases/tag/v%2F0.103.0
* Upgrade strum dependency to 0.27.1.Gabriela Moldovan2025-03-2711-11/+11
| | | | | | | | | In 0.27.0, strum's MSRV was bumped to 1.66.1, but that's okay because ours is 1.77. We aren't affected by any of its [breaking changes]. [breaking changes]: https://github.com/Peternator7/strum/blob/master/CHANGELOG.md#0270
* tor-keymgr: keystore::arti::ssh: Fix typo; simplify comments.playbahn2025-03-271-8/+7
| | | | Closes #1455
* tor-keymgr: keystore::arti: Rework tests: ssh-keygen interopplaybahn2025-03-261-7/+4
| | | | Closes #1455 [PATCH 4(v3)/4]
* tor-keymgr: keystore::arti::ssh: Rework tests: ssh-keygen interopplaybahn2025-03-261-37/+115
| | | | Part of #1455 [PATCH 3(v3)/4]
* tor-keymgr: test_utils: TestSpecifier::path_prefix: Drop methodplaybahn2025-03-262-8/+7
| | | | Part of #1455
* tor-keymgr: Fix clippy errorsplaybahn2025-03-262-2/+3
|
* tor-keymgr: dep ssh-key feat: -allocplaybahn2025-03-261-1/+1
|
* tor-keymgr: test_utils: Fix unresolved importplaybahn2025-03-261-4/+8
|
* tor-keymgr: keystore::arti::tests: More intuitive assert_eq!playbahn2025-03-262-3/+2
|
* tor-keymgr: keystore::arti: Rework ssh-keygen interop testsplaybahn2025-03-261-63/+82
| | | | Closes #1455 [PATCH 4(v2)/4]
* tor-keymgr: keystore::arti::ssh: Rework ssh-keygen interop testsplaybahn2025-03-261-30/+52
| | | | Part of #1455 [PATCH 3(v2)/4]
* tor-keymgr: Rework utils for ssh-keygen interop testsplaybahn2025-03-261-52/+50
| | | | | | | | | | | Part of #1455 [PATCH 2(v2)/4] - Rework sshkeygen::ed25519_encoded to also work as replacement for sshkeygen::exists - Drop sshkeygen::exists - Rename sshkeygen::{ed25519_encoded -> sshkeygen_ed25519_strings} - Pull out sshkeygen_ed25519_strings from mod sshkeygen - Drop mod sshkeygen
* tor-keymgr: Remove unused importsplaybahn2025-03-262-2/+0
| | | | _sigh_
* tor-keymgr: keystore::arti: Add tests for ssh-keygen interopplaybahn2025-03-261-65/+100
| | | | Closes #1455 [PATCH 4/4]
* tor-keymgr: keystore::arti::ssh: Add tests for ssh-keygen interopplaybahn2025-03-261-0/+61
| | | | | | | | | | | | Part of #1455 [PATCH 3/4] Abstract of the test(s): Encoded (key) A -> Decoded (key) A Decoded A -> Encoded B Encoded B -> Decoded B Assert that Decoded A == Decoded B
* tor-keymgr: test_utils: Add ssh-keygen interop test utilsplaybahn2025-03-261-0/+53
| | | | | | | | | | Part of #1455 [PATCH 2/4] Utils include: - mod sshkeygen - sshkeygen::exists - check if ssh-keygen is available - sshkeygen::ed25519_encoded - generate encoded Ed25519 keys
* tor-keymgr: dependency ssh-key: features: +allocplaybahn2025-03-261-1/+1
| | | | | | Part of #1455 [PATCH 1/4] ssh_key::{PrivateKey, PublicKey}::to_openssh requires feature alloc
* tor-keymgr: test_utils: Fix typo: TestSpecifier::new paramplaybahn2025-03-261-2/+2
| | | | | | | TestSpecifier::new(prefix: ...) -> new(suffix: ...) Prefix is given by TestSpecifier::path_prefix() which returns const TEST_SPECIFIER_PATH = "..."
* tor-proto: remove unnecessary `Option` from `circuit_action`Steven Engler2025-03-262-10/+9
|
* tor-proto: fix possible bug when there are no ready streamsSteven Engler2025-03-261-13/+21
|
* Merge branch 'use-patch-pwd-grp' into 'main'Jim Newsome2025-03-264-12/+28
|\ | | | | | | | | fix compiling fs-misstrust on tvOS See merge request tpo/core/arti!2890
| * fix compiling fs-misstrust on tvOSyaucp2025-03-264-12/+28
| |
* | Merge branch 'dev/cve/pareto-cast' into 'main'Nick Mathewson2025-03-261-1/+1
|\ \ | | | | | | | | | | | | tor-circmgr: Explicit type annotation See merge request tpo/core/arti!2886
| * | tor-circmgr: Explicit type annotationClara Engler2025-03-261-1/+1
| | | | | | | | | | | | | | | | | | | | | This commit adds an explicit type annotation to the learning_timeouts() function, as leaving it out yielded an error while trying to compile tor-circmgr in a project that had this crate deep down in its supply chain.
* | | Merge branch 'main' into 'main'gabi-2502025-03-261-86/+149
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | tor-keymgr: Implemented test improvements Closes #1888 See merge request tpo/core/arti!2848
| * | tor-keymgr: Introduce ItemMetadata type for testing.vijayabhaskar_782025-03-261-86/+149
| |/
* | Merge branch 'rpc-configuration' into 'main'opara2025-03-253-3/+142
|\ \ | | | | | | | | | | | | | | | | | | Cleanups related to rpc configuration Closes #1309 and #1830 See merge request tpo/core/arti!2887
| * | Add examples and tests for RPC options.Nick Mathewson2025-03-253-3/+121
| | | | | | | | | | | | Closes #1830.
| * | arti: warn when rpc options are set without rpc feature.Nick Mathewson2025-03-251-0/+21
| | | | | | | | | | | | Closes #1309.
* | | Merge branch 'circuit-action' into 'main'opara2025-03-253-16/+31
|\ \ \ | |_|/ |/| | | | | | | | tor-proto: simplify `ConfluxSet::circuit_action` See merge request tpo/core/arti!2884
| * | tor-basic-utils: move `flatten` from tor-protoSteven Engler2025-03-252-10/+15
| | | | | | | | | | | | I also added an additional non-doc TODO comment.
| * | tor-proto: simplify tunnel `run_once`Steven Engler2025-03-241-7/+1
| | | | | | | | | | | | As far as I can tell, the extra drop handling code isn't needed anymore.
| * | tor-proto: remove `CircuitActionResult` aliasSteven Engler2025-03-241-4/+1
| | | | | | | | | | | | | | | I think the return type is simplified enough now that we don't need this.
| * | tor-proto: change `ConfluxSet::next_circ_action` to return a `Future`Steven Engler2025-03-242-6/+25
| | | | | | | | | | | | | | | | | | Now returns only the first item of the stream rather than the stream itself. We use this in `Reactor::run_once`, which means we only ever use the first item anyways.
| * | tor-proto: rename `ConfluxSet::circuit_action` to `next_circ_action`Steven Engler2025-03-242-6/+6
| | |
* | | Revise READMEs for RPC crates.Nick Mathewson2025-03-253-20/+24
| | | | | | | | | | | | | | | | | | We'll want to add more text here, but that should probably wait until we have a permanent home for the rendered RPC documentation. (see #1829)
* | | Mark rpc features as non-experimental.Nick Mathewson2025-03-252-4/+6
| |/ |/|
* | Merge branch 'choose_multiple_cleanup' into 'main'Nick Mathewson2025-03-253-11/+116
|\ \ | | | | | | | | | | | | | | | | | | Cleanups and followups for rand 0.9 choose_multiple_weighted and friends. Closes #1903 See merge request tpo/core/arti!2880
| * | netdir: Add a (hopefully) temporary workaroundNick Mathewson2025-03-251-3/+27
| | | | | | | | | | | | | | | Instead of doing the more sensible thing when every relay has weight 0, give a warning message.