enable dead_code lint

And delete all the dead code. And add some cfgs for feature-specific
items.
This commit is contained in:
Charles Hall 2024-05-01 22:32:36 -07:00
parent d748544f0e
commit 2ff08c9fc4
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
8 changed files with 6 additions and 52 deletions

View file

@ -399,10 +399,6 @@ impl Service {
r
}
pub(crate) fn well_known_client(&self) -> &Option<String> {
&self.config.well_known_client
}
pub(crate) fn shutdown(&self) {
self.shutdown.store(true, atomic::Ordering::Relaxed);
// On shutdown