diff --git a/libp2p.nim b/libp2p.nim index 1032775..c53506a 100644 --- a/libp2p.nim +++ b/libp2p.nim @@ -17,7 +17,7 @@ import transports/transport, transports/tcptransport, protocols/secure/noise, - varint, + errors, switch, peerid, peerinfo, @@ -27,7 +27,7 @@ import import bearssl export - minprotobuf, varint,switch, peerid, peerinfo, + minprotobuf, switch, peerid, peerinfo, connection, multiaddress, crypto, lpstream, bufferstream, bearssl, muxer, mplex, transport, - tcptransport, noise + tcptransport, noise, errors diff --git a/libp2p/standard_setup.nim b/libp2p/standard_setup.nim index d0f4fc8..758d535 100644 --- a/libp2p/standard_setup.nim +++ b/libp2p/standard_setup.nim @@ -9,7 +9,7 @@ import connmanager type SecureProtocol* {.pure.} = enum Noise, - Secio # deprecated + Secio {.deprecated.} proc newStandardSwitch*(privKey = none(PrivateKey), address = MultiAddress.init("/ip4/127.0.0.1/tcp/0").tryGet(),