diff --git a/crates/tor-error/Cargo.toml b/crates/tor-error/Cargo.toml index 2375d944f..d098a472b 100644 --- a/crates/tor-error/Cargo.toml +++ b/crates/tor-error/Cargo.toml @@ -9,7 +9,7 @@ homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home" description = "Provides the unified type-erased error type returned by many (esp. high-level) Tor APIs." keywords = ["tor", "arti"] repository = "https://gitlab.torproject.org/tpo/core/arti.git/" -categories = ["tor"] +categories = ["rust-patterns"] [features] default = ["backtrace"] diff --git a/crates/tor-rtcompat/src/lib.rs b/crates/tor-rtcompat/src/lib.rs index 3ed74c724..f09adcd40 100644 --- a/crates/tor-rtcompat/src/lib.rs +++ b/crates/tor-rtcompat/src/lib.rs @@ -179,6 +179,7 @@ pub mod scheduler; mod timer; mod traits; +#[cfg(any(feature = "async-std", feature = "tokio"))] use std::io; pub use traits::{ BlockOn, CertifiedConn, Runtime, SleepProvider, TcpListener, TcpProvider, TlsProvider,