summaryrefslogtreecommitdiff
path: root/Cargo.lock
Commit message (Collapse)AuthorAgeFilesLines
* Bump crate and dependency versions.Nick Mathewson2022-06-241-24/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These were done with the following commands: ``` cargo set-version -p tor-basic-utils --bump patch cargo set-version -p fs-mistrust --bump minor cargo set-version -p tor-error --bump patch cargo set-version -p tor-config --bump patch cargo set-version -p tor-units --bump patch cargo set-version -p tor-rtcompat --bump minor cargo set-version -p tor-llcrypto --bump patch cargo set-version -p tor-bytes --bump minor cargo set-version -p tor-socksproto --bump minor cargo set-version -p tor-cert --bump minor cargo set-version -p tor-cell --bump minor cargo set-version -p tor-proto --bump minor cargo set-version -p tor-netdoc --bump patch cargo set-version -p tor-netdir --bump minor cargo set-version -p tor-persist --bump patch cargo set-version -p tor-chanmgr --bump minor cargo set-version -p tor-guardmgr --bump minor cargo set-version -p tor-circmgr --bump patch cargo set-version -p tor-dirclient --bump patch cargo set-version -p tor-dirmgr --bump minor cargo set-version -p arti-client --bump patch cargo set-version -p arti --bump minor cargo set-version -p arti-bench --bump minor cargo set-version -p arti-testing --bump minor ```
* Increment versions of crates with trivial changes only.Nick Mathewson2022-06-241-11/+11
| | | | | | "Trivial" here includes stuff like cargo reformatting, comment edits, error message string changes, and clippy warning changes. Crates that depend on these do not need to increment.
* Merge branch 'error_cleanup_2' into 'main'eta2022-06-241-0/+1
|\ | | | | | | | | Error refactoring: bytes, cert, proto. See merge request tpo/core/arti!604
| * tor-proto: split and elaborate tor_bytes::Error instancesNick Mathewson2022-06-231-0/+1
| | | | | | | | | | | | | | | | | | Some of these were for decoding particular objects (we now say what kind of objects), and some were unrelated tor_cert errors that for some reason we had shoved into a tor_bytes::Error. There is now a separate tor_cert::CertError type, independent from tor_cert's use of `tor_bytes::Error` for parsing errors.
* | Run cargo upgrade in preparation for release.Nick Mathewson2022-06-241-10/+10
| |
* | Merge branch 'tor-netdoc/use-base64ct' into 'main'Ian Jackson2022-06-231-5/+5
|\ \ | |/ |/| | | | | Replace `base64` crate with `base64ct` crate in `tor-netdoc` See merge request tpo/core/arti!600
| * Remove unused `base64` crateArturo Marquez2022-06-211-1/+0
| |
| * Replace `base64` crate with `base64ct` crateArturo Marquez2022-06-211-4/+5
| | | | | | | | | | | | | | Note: the `base64ct` crate rejects invalid characters when the decoding is done on padded strings. However, the `FromStr` impl for `B64` can have both padded **and** unpadded inputs, so all inputs are now padded first, before decoding.
* | Merge branch 'error_cleanup' into 'main'Nick Mathewson2022-06-221-0/+2
|\ \ | |/ |/| | | | | Error cleanup, part 1 See merge request tpo/core/arti!601
| * Improve error messages in tor-checkable.Nick Mathewson2022-06-221-0/+1
| |
| * Editorial improvements on fs-mistrust errorsNick Mathewson2022-06-221-0/+1
| | | | | | | | | | | | These changes make sure that the errors conform to our preferred style, and include a description of what exactly we were doing when something went wrong.
* | tor-chanmgr: Change to use unwrap_voidIan Jackson2022-06-211-0/+1
| | | | | | | | | | As per discussion in https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/586#note_2813573
* | channel padding: Use IntegerMilliseconds in padding::ParametersIan Jackson2022-06-211-0/+2
| |
* | channel padding: Plumb settings from chanmgrIan Jackson2022-06-211-0/+1
| |
* | channel padding: Make Parameters a pub struct with builderIan Jackson2022-06-211-0/+1
|/ | | | chanmgr is going to want to make one of these from a NetDir.
* Run cargo update in preparation for release on FridayNick Mathewson2022-06-211-133/+105
|
* Merge branch 'reachable_addrs_v2' into 'main'Nick Mathewson2022-06-171-4/+63
|\ | | | | | | | | | | | | Implement support for reachable_addrs Closes #491 and #93 See merge request tpo/core/arti!583
| * NetDoc: Make AddrPortPattern implement serde traitsNick Mathewson2022-06-171-4/+63
| | | | | | | | | | | | I'm using serde_with here to just re-use the Display and FromStr implementations, since those are what has proven easier to type in the past.
* | Merge branch 'config-fix2' into 'main'Nick Mathewson2022-06-161-0/+1
|\ \ | | | | | | | | | | | | Use impl_standard_builder more and remove manual Default/builder impls See merge request tpo/core/arti!594
| * | arti: logging config: Replace a manual Debug implIan Jackson2022-06-161-0/+1
| | |
* | | Merge branch 'upgrade_float_eq' into 'main'Ian Jackson2022-06-161-10/+4
|\ \ \ | | | | | | | | | | | | | | | | Upgrade to float_eq 1.0.0 See merge request tpo/core/arti!591
| * | | Upgrade to float_eq 1.0.0Nick Mathewson2022-06-161-10/+4
| | |/ | |/|
* | | Merge branch 'main' into 'accel-features'Nick Mathewson2022-06-161-0/+1
|\| | | | | | | | | | | # Conflicts: # crates/arti-client/Cargo.toml
| * | Merge branch 'high-level-features' into 'main'Nick Mathewson2022-06-161-0/+2
| |\ \ | | |/ | |/| | | | | | | | | | | | | Add "full" and "experimental" features to arti, arti-client, and below. Closes #499 See merge request tpo/core/arti!584
| * | Merge branch 'dormant_directory' into 'main'Nick Mathewson2022-06-131-0/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Use TaskSchedule to sleep in directory bootstrapping Closes #497 See merge request tpo/core/arti!571
| | * | DirMgr: Use scopeguard crate in place of ad hoc RAII substitutesNick Mathewson2022-06-131-0/+1
| | | |
* | | | Add "accel-*" features to arti-client and arti.Nick Mathewson2022-06-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These need to be optional: they improve performance by shifting to asm implementations, which may not be everybody's idea of good practice. These are not 'pure' features, since they select one implementation but disable another. Therefore they don't go in `full`. Closes #441.
* | | | Add a feature to tor-llcrypto to enable sha-1/asm.Nick Mathewson2022-06-131-0/+10
| |_|/ |/| | | | | | | | | | | SHA1 is a reasonably large part of our CPU usage (sigh), and this implementation is 20-50% faster, depending on arch.
* | | Add "full" and "experimental" features to arti-client and below.Nick Mathewson2022-06-101-0/+2
|/ / | | | | | | | | | | | | | | | | The "full" feature is a catch-all for all features, _except_: * Those that select a particular implementation (like tor-llcrypto/with-openssl) or build flag (like "static") * Those that are experimental or unstable (like "experimental-api") * Those that are testing-only.
* | Merge branch 'channel' into 'main'Nick Mathewson2022-06-101-0/+112
|\ \ | | | | | | | | | | | | Have channel reactor able to send channel padding See merge request tpo/core/arti!574
| * | tor-proto: padding: Test padding timer distributionIan Jackson2022-06-081-0/+110
| | |
| * | tor-proto: channel: Provide padding::TimerIan Jackson2022-06-081-0/+2
| | |
* | | Merge branch 'format-ids' into 'main'Ian Jackson2022-06-101-0/+1
|\ \ \ | | | | | | | | | | | | | | | | Replace four very similar "ids in request" See merge request tpo/core/arti!577
| * | | dirclient: Replace four very similar "ids in request"Ian Jackson2022-06-091-0/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | In reviewing !553 I noticed that the empty digest list error had to be handled in two places. I filed #492 about the duplication. In fact it turns out to have been quadruplication. The new code also avoids cloning the underlying objects, instead sorting a Vec of references.
* / / tor-bytes: Provide nested writersIan Jackson2022-06-091-0/+1
|/ /
* | Merge branch 'use-testing-rng'Nick Mathewson2022-06-071-3/+13
|\ \
| * | Rewrite tests in tor-netdir to use testing_rng()Nick Mathewson2022-06-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The randomized tests in this crate take a lot of iterations to converge, so they default to using a deterministic PRNG seed with few iterations and higher tolerance, and they only randomize the tests (with more iterations and tighter tolerances) when you explicitly opt in to randomization. (If you specify a seed explicitly, you're doing that to reproduce a randomized case, so we use the same behavior.)
| * | Use testing_rng() in tests throughout our crates.Nick Mathewson2022-06-021-0/+3
| |/ | | | | | | | | | | This only affects uses of thread_rng(), and affects them all more or less indiscriminately. One test does not work with ARTI_TEST_PRNG=deterministic; the next commit will fix it.
* | Merge branch 'llcrypto-openssl' into 'main'Nick Mathewson2022-06-071-0/+2
|\ \ | | | | | | | | | | | | | | | | | | add support for openssl backend in llcrypto Closes #442 See merge request tpo/core/arti!550
| * | add support for openssl backend in llcryptotrinity-1686a2022-05-301-0/+2
| | |
* | | Upgrade serial_test dev-dependency to 0.7.0Nick Mathewson2022-06-071-5/+6
| | |
* | | Upgrade float_eq dev-dependency to 1.0.0Nick Mathewson2022-06-071-2/+2
| | |
* | | Upgrade tls-api to latest versions in arti-hyper.Nick Mathewson2022-06-071-8/+9
| |/ |/|
* | New facility for deterministic and reproducible test PRNGs.Nick Mathewson2022-06-021-0/+3
| | | | | | | | | | | | | | | | | | | | | | The new `testing_rng()` function is meant as a replacement for thread_rng() for use in unit tests. By default, it uses a randomly seeded RNG, but prints the seed before the test so that you can reproduce any failures that occur. You can override this via the environment to use a previous seed, or by using a deterministic seed for all your tests. Backend for #486.
* | arti config: Check that example config is exhaustiveIan Jackson2022-05-301-0/+3
|/ | | | This is the final piece of #457.
* Semantic version changes for Arti 0.4.0 releaseNick Mathewson2022-05-271-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | I followed the following procedure to make these changes: * I used maint/changed_crates to find out which crates had changed since 0.3.0. * I used grep and maint/list_crates to sort those crates in topological (dependency) order. * I looked through semver_status to find which crates were listed as having semver-relevant changes (new APIs and breaking changes). * I scanned through the git logs of the crates with no semver-relevant changes listed to confirm that, indeed, they had no changes. For those crates, I incremented their patch-level version _without_ changing the version that other crates depend on. * I scanned through the git logs of the crates with no semver-relevant changes listed to confirm that, indeed, they had no obvious breaking changes. * I treated all crates that depend on `arti` and/or `arti-client` as having breaking changes. * I identified crates that depend on crates that have changed, even if they have not changed themselves, and identified them as having a non-breaking change. * For all of the crates, I used `cargo set-version -p $CRATE --bump $STATUS` (where `STATUS` is `patch` or `minor`) to update the versions, and the depended-upon versions.
* Bump versions of trivially-changed crates.Nick Mathewson2022-05-271-7/+7
| | | | | | | | | | | | | | | | | | | These crates had only clippy fixes that do not affect their behavior: tor-bytes tor-cell tor-events tor-linkspec tor-netdir tor-socksproto This crate only had the cargo-husky dependency removed, which does not affect compatibility: tor-llcrypto Since these changes have no compatibility effects, it is not necessary to bump the versions of these crates which other crates depend on.
* Run "cargo update" in preparation for releaseNick Mathewson2022-05-271-4/+4
|
* Merge branch 'config-split' into 'main'Ian Jackson2022-05-261-0/+12
|\ | | | | | | | | | | | | Break TorClientConfig out of ArtiConfig and warn on unknown config keys Closes #459 and #417 See merge request tpo/core/arti!529
| * tor-config: Example for load moduleIan Jackson2022-05-241-0/+1
| |