summaryrefslogtreecommitdiff
path: root/Cargo.lock
Commit message (Collapse)AuthorAgeFilesLines
...
* Move logging configuration from arti_config::options to arti::loggingIan Jackson2022-03-211-0/+1
| | | | Code motion and import fixups.
* Move ArtiConfig to new arti::cfg moduleIan Jackson2022-03-211-9/+6
| | | | Code motion and import fixups.
* Merge branch 'test-isolation' into 'main'Nick Mathewson2022-03-171-0/+20
|\ | | | | | | | | new api for isolation See merge request tpo/core/arti!377
| * replace Arc with Box and use dyn-clonetrinity-1686a2022-03-161-0/+7
| | | | | | | | this also removes JoinResult
| * use downcast-rs instead of our own AsAnytrinity-1686a2022-03-161-0/+13
| |
* | Merge branch 'config-partials-transparent' into 'main'Ian Jackson2022-03-171-0/+2
|\ \ | |/ |/| | | | | Absolish builders for CircMgrConfig and DirMgrConfig See merge request tpo/core/arti!417
| * Provide define_accessor_trait and use it to generate CircMgrConfigIan Jackson2022-03-161-0/+1
| |
| * Change type of TorClientConfig::override_net_paramsIan Jackson2022-03-161-0/+1
| | | | | | | | | | | | | | Now we use NetParams. That implies making its constructor public, which I think it fine. This is related to #413 but is far from completing that ticket.
* | Merge branch 'derive-builder' into 'main'Ian Jackson2022-03-161-8/+3
|\ \ | |/ |/| | | | | derive_builder: Switch to upstream 0.11 See merge request tpo/core/arti!414
| * derive_builder: Switch to upstream 0.11Ian Jackson2022-03-161-8/+3
| | | | | | | | | | | | | | | | | | This has the different syntax for builder field attributes than what I originally proposed in my MR, and which therefore is in the pinned branch. My upstream MR for the field attributes feature was morged: https://github.com/colin-kiegel/rust-derive-builder/issues/239
* | Move RetryDelay from dirmgr to basic-utils.Nick Mathewson2022-03-161-0/+1
|/ | | | | This (almost) a pure code-movement commit: it also makes one public function private in order to suppress a warning.
* actually add DNS supporttrinity-1686a2022-03-141-0/+56
|
* Merge branch 'slice-from-ref' into 'main'eta2022-03-141-0/+1
|\ | | | | | | | | Simpify tor-netdoc TokVal See merge request tpo/core/arti!404
| * tor-netdoc: Actually, make TokVal be a VecIan Jackson2022-03-111-0/+1
| | | | | | | | | | This enum was otiose: its set of valid values is precisely those of a Vec. (Indeed what would TokVal::Multi(vec![]) have meant?)
* | Revert "humantime_serde_option: New module in tor-basic-utils"Ian Jackson2022-03-141-2/+0
| | | | | | | | | | | | We have upstreamed this code. This reverts commit 6193c9d9742d1d19a45a0ee1c383858201304912.
* | humantime: Update to humantime-serde 1.1.1Ian Jackson2022-03-141-2/+2
|/ | | | | | | | This has the humantime_serde::option module, which we have upstreamed and are about to switch to. The remaining dependency with version = "1" is going to be removed in a moment.
* Merge branch 'config-no-retcon' into 'main'Ian Jackson2022-03-101-2/+3
|\ | | | | | | | | Drop config back-conversion from FooConfig to FooConfigBuilder See merge request tpo/core/arti!391
| * Use git source for derive_builder for now, for attrs featureIan Jackson2022-03-071-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We are going to want to specify custom attributes on fields of the builder struct. This feature was missing from derive_builder. This commitid is the current head of my MR branch https://github.com/colin-kiegel/rust-derive-builder/pull/237 https://github.com/ijackson/rust-derive-builder/tree/builder-field-attrs Using the commitid prevents surprises if that branch is updated. We will require this newer version of derive_builder. The version will need to be bumped again later, assuming the upstream MR is merged and upstream do a release containing the needed changes.
| * humantime_serde_option: New module in tor-basic-utilsIan Jackson2022-03-071-0/+2
| | | | | | | | | | This will be used to allow our config *builder* structs to be Deserialize.
* | arti-testing: Initial support for broken TCP.Nick Mathewson2022-03-071-0/+1
|/ | | | | | This commit adds support for a BrokenTcp provider that can make connection attempts fail or time out. It doesn't yet have a way to turn on the failure.
* Merge branch 'educe-traits' into 'main'Ian Jackson2022-03-041-0/+48
|\ | | | | | | | | Replace many manual trait impls with use of educe See merge request tpo/core/arti!375
| * Move skip_fmt into tor-basic-utilsIan Jackson2022-03-041-6/+7
| | | | | | | | | | | | | | Code motion and the minimal mechanical changes. As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/375#note_2783078
| * Introduce tor-basic-utilsIan Jackson2022-03-041-0/+7
| | | | | | | | Empty crate right now
| * Replace manual Debug impl with educe in arti-clientIan Jackson2022-03-021-0/+2
| |
| * Replace manual Clone impl with educe in arti-hyperIan Jackson2022-03-021-0/+1
| |
| * Replace manual Clone impl with educe in tor-rtcompatIan Jackson2022-03-021-0/+1
| |
| * Replace manual Debug impls with educe in tor-protoIan Jackson2022-03-021-0/+1
| | | | | | | | We now print slighly more information.
| * Replace manual Debug impl with educe in tor-dirmgrIan Jackson2022-03-021-0/+2
| |
| * Replace manual Debug impl with educe in tor-chanmgrIan Jackson2022-03-021-0/+2
| |
| * Replace manual Debug impl with educe in tor-cellIan Jackson2022-03-021-0/+1
| |
| * Replace manual Debug impl with educe in tor-guardmgrIan Jackson2022-03-021-0/+2
| |
| * Replace manual Debug impl with educe in tor-circmgrIan Jackson2022-03-021-0/+2
| |
| * Import educe into tor-bytes and provide skip_fmtIan Jackson2022-03-021-0/+26
| | | | | | | | Preparatory work for getting rid of some manual Debug impls
* | Merge branch 'arti-testing-part1' into 'main'eta2022-03-041-0/+23
|\ \ | | | | | | | | | | | | arti-testing: Initial implementation See merge request tpo/core/arti!378
| * | arti-testing: Initial implementationNick Mathewson2022-03-031-0/+23
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds a new program to try to implement the ideas behind experimentation in arti#329. In particular, it tries to implement basic client "can I bootstrap and connect" functionality testing, with a lot of instrumentation, and support for breaking things. So far, the instrumentation is limited to counting TCP bytes and connections, and counting events. Still, this is enough to measure behavior on some of the incorrect-clock tests. NOTE: For now, you are _required_ to pass in an explicit configuration, in hopes that this will lead you to override your storage directories for doing specific experiments.
* / Switch to shellexpand-fork version of shellexpandIan Jackson2022-03-021-4/+4
|/ | | | | Apropos discussion in https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/274
* Bump all crates to 0.1.0arti-v0.1.0Nick Mathewson2022-03-011-31/+31
|
* Final "cargo update" before relase.Nick Mathewson2022-03-011-6/+6
|
* arti-hyper: Provide TLS connector and make space for TLS streamIan Jackson2022-02-281-7/+200
| | | | | | | | | | Add tls_conn field to ArtiHttpConnector (and argument to constructor). Introduce MaybeHttpsStream and use it in ArtiHttpConnection. Have the example program pass the native TLS connector. Currently the TLS connector and the HTTPS variant are not used, but this commit is very noisy and fomrulaic, so I have split out the code to use them into a separate commit for easier preparation and review.
* Run "cargo upgrade" in preparation for 0.1.0.Nick Mathewson2022-02-251-168/+204
| | | | | | (It's good to do this a couple of days in advance in case it turns up any bugs. That's how we caught the panic bug in simple_asn1 0.6.0)
* Upgrade to newer version of config crate.Nick Mathewson2022-02-251-26/+21
|
* Upgrade dependency to new version of rlimit.Nick Mathewson2022-02-251-2/+2
|
* arti-hyper: impl HasKind for ConnectionErrorIan Jackson2022-02-231-0/+1
|
* arti-hyper: Introduce new ConnectionError typeIan Jackson2022-02-231-0/+1
| | | | | We need this not to use anyhow because we don't want our libraries to expose anyhow, and this is about to go into the library.
* arti-hyper: Move hyper example from arti-clientIan Jackson2022-02-231-1/+5
| | | | Code motion and consequential dependency adjustments.
* arti-hyper: empty crate skeletonIan Jackson2022-02-231-0/+8
|
* Provide error reporter and use it in the arti binaryIan Jackson2022-02-181-0/+1
|
* Merge branch 'remaining-errors'Nick Mathewson2022-02-171-0/+2
|\
| * dirmgr: Remember where netdocs came from.Nick Mathewson2022-02-161-0/+1
| | | | | | | | | | This isn't complete (see TODO), but it's enough to let us report the right ErrorKind if something fails to parse.
| * Implement HasKind for tor_dirclient::ErrorNick Mathewson2022-02-161-0/+1
| |