arti/crates
eta a3c9fc5b1a tor-chanmgr: Introduce the BootstrapReporter API, publicize ChanBuilder
This commit makes the `ChanBuilder` type in `tor-chanmgr` usable by
consumers outside of that crate, like the doc comment for
`ChannelFactory` says you need to be able to do in order to turn your
`TransportHelper` into something useful.

As part of doing this, the `event_sender` its constructor takes needed
to be dealt with, since it was a crate-internal type that came from
inside the `ChanMgr`.

Enter `BootstrapReporter`: an opaque wrapper around that sender, now
provided as an additional argument to
`ChannelFactory::connect_via_transport`. You can now construct a
`ChanBuilder` outside this crate, and it'll still be able to report its
bootstrap status by unwrapping this new type that's threaded through
from the `ChanMgr`. (This was a fair deal of manually threading the type
through all the layers in this crate!)

Note that you cannot implement bootstrap updating using something that
isn't `ChanBuilder` yet due to the type being entirely opaque (but, of
course, we can figure out exactly what API the reporter should have
later, and add that capability in).
2022-11-28 13:52:21 -05:00
..
arti bridge non-support: Test that we reject configs 2022-11-21 16:46:19 +00:00
arti-bench bump rust-version to 1.60 in every crate. 2022-11-10 10:57:33 -05:00
arti-client Merge branch 'watch-drop-option' into 'main' 2022-11-23 18:55:32 +00:00
arti-config bump rust-version to 1.60 in every crate. 2022-11-10 10:57:33 -05:00
arti-hyper bump rust-version to 1.60 in every crate. 2022-11-10 10:57:33 -05:00
arti-testing bump rust-version to 1.60 in every crate. 2022-11-10 10:57:33 -05:00
caret bump rust-version to 1.60 in every crate. 2022-11-10 10:57:33 -05:00
fs-mistrust bump rust-version to 1.60 in every crate. 2022-11-10 10:57:33 -05:00
retry-error bump rust-version to 1.60 in every crate. 2022-11-10 10:57:33 -05:00
safelog safelog: Provide BoxSensitive 2022-11-23 18:28:38 +00:00
tor-basic-utils tor-basic-utils: DropNotifyWatchSender: use DropNotifyEofSignallable 2022-11-23 17:50:05 +00:00
tor-bytes bump rust-version to 1.60 in every crate. 2022-11-10 10:57:33 -05:00
tor-cell bump rust-version to 1.60 in every crate. 2022-11-10 10:57:33 -05:00
tor-cert bump rust-version to 1.60 in every crate. 2022-11-10 10:57:33 -05:00
tor-chanmgr tor-chanmgr: Introduce the BootstrapReporter API, publicize ChanBuilder 2022-11-28 13:52:21 -05:00
tor-checkable bump rust-version to 1.60 in every crate. 2022-11-10 10:57:33 -05:00
tor-circmgr tor-cirmgr: Replace OwnedChanTarget with LoggedChanTarget in errors 2022-11-23 18:28:38 +00:00
tor-config Merge branch 'reconfig-bridges-bad' into 'main' 2022-11-27 19:30:00 +00:00
tor-congestion bump rust-version to 1.60 in every crate. 2022-11-10 10:57:33 -05:00
tor-consdiff bump rust-version to 1.60 in every crate. 2022-11-10 10:57:33 -05:00
tor-dirclient tor-dirclient: Replace OwnedChanTarget with LoggedChanTarget in SourceInfo 2022-11-23 18:28:38 +00:00
tor-dirmgr bridge desc mgr: Add dormancy comment to effective_parallelism 2022-11-23 18:20:58 +00:00
tor-error bump rust-version to 1.60 in every crate. 2022-11-10 10:57:33 -05:00
tor-events bump rust-version to 1.60 in every crate. 2022-11-10 10:57:33 -05:00
tor-guardmgr Merge branch 'chanmethod-non-exhaustive' into 'main' 2022-11-27 19:36:22 +00:00
tor-linkspec Make ChannelMethod non-exhaustive 2022-11-24 17:17:36 +00:00
tor-llcrypto Fix a bunch of "needless borrow" warnings on nightly 2022-11-18 10:12:05 -05:00
tor-netdir bump rust-version to 1.60 in every crate. 2022-11-10 10:57:33 -05:00
tor-netdoc Fix a couple of rustdoc issues. 2022-11-18 10:19:54 -05:00
tor-persist Fix a bunch of "needless borrow" warnings on nightly 2022-11-18 10:12:05 -05:00
tor-proto Fix a bunch of "needless borrow" warnings on nightly 2022-11-18 10:12:05 -05:00
tor-protover bump rust-version to 1.60 in every crate. 2022-11-10 10:57:33 -05:00
tor-ptmgr Draft: Pluggable transport manager 2022-11-28 13:52:21 -05:00
tor-rtcompat fix deprecation warnings from rustls 2022-11-26 10:23:05 +01:00
tor-rtmock bump rust-version to 1.60 in every crate. 2022-11-10 10:57:33 -05:00
tor-socksproto bump rust-version to 1.60 in every crate. 2022-11-10 10:57:33 -05:00
tor-units bump rust-version to 1.60 in every crate. 2022-11-10 10:57:33 -05:00