Dead code warnings
There are some dead code warnings from cargo doc --locked --workspace --all-features --document-private-items
that I can't immediately resolve:
-
In
tor-dirmgr
, theStore
trait's methodsdelete_consensus
anddelete_bridgedesc
. Is expiry handled separately? If so the lack of calls may be fine. We probably don't want to delete these methods since they seem sensible for completeness, so if the code is fine, we should remove the TODO from the allows. -
In
tor-proto::circuit
,WindowParams
has amaximum
method which is never called. This probably means the code is wrong. -
In
tor-proto::crypto
, theRelayCrypt
trait andServerHandshake::server
are both unused. I don't understand this.
I'm making an MR to allow the tree to build cleanly, in which I will make allows for these. But they should be investigated.
@nickm, I think you may know the answers?