Closed wpbirney closed 2 years ago
building with feature tls-rust causes a bunch of defined multiple times errors like:
error[E0201]: duplicate definitions with name `new_secured_transport`: --> /home/blackbeard/.cargo/registry/src/github.com-1ecc6299db9ec823/irc-0.15.0/src/client/conn.rs:216:5 | 161 | / async fn new_secured_transport( 162 | | config: &Config, 163 | | tx: UnboundedSender<Message>, 164 | | ) -> error::Result<Transport<TlsStream<TcpStream>>> { | |_______________________________________________________- previous definition of `new_secured_transport` here ... 216 | / async fn new_secured_transport( 217 | | config: &Config, 218 | | tx: UnboundedSender<Message>, 219 | | ) -> error::Result<Transport<TlsStream<TcpStream>>> { | |_______________________________________________________^ duplicate definition
whats the proper way to build with tls-rush
my fault
irc = { version = "*", default-features = false, features = ["ctcp", "toml_config", "tls-rust"] }
fixed it, i was missing the default-features=false part
building with feature tls-rust causes a bunch of defined multiple times errors like:
whats the proper way to build with tls-rush