add multi types to exports (#527)

* add multitypes to exports

* export standard setup
This commit is contained in:
Dmitriy Ryajov 2021-02-10 11:42:46 -06:00 committed by GitHub
parent f4145ebbfa
commit 12adefb4de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 7 deletions

View File

@ -17,11 +17,16 @@ import
transports/transport, transports/transport,
transports/tcptransport, transports/tcptransport,
protocols/secure/noise, protocols/secure/noise,
cid,
multihash,
multibase,
multicodec,
errors, errors,
switch, switch,
peerid, peerid,
peerinfo, peerinfo,
multiaddress, multiaddress,
standard_setup,
crypto/crypto] crypto/crypto]
import bearssl import bearssl
@ -30,4 +35,5 @@ export
minprotobuf, switch, peerid, peerinfo, minprotobuf, switch, peerid, peerinfo,
connection, multiaddress, crypto, lpstream, connection, multiaddress, crypto, lpstream,
bufferstream, bearssl, muxer, mplex, transport, bufferstream, bearssl, muxer, mplex, transport,
tcptransport, noise, errors tcptransport, noise, errors, cid, multihash,
multicodec, standard_setup

View File

@ -1,10 +1,13 @@
import options, tables import
import chronos options, tables, chronos, bearssl,
import ../libp2p switch, peerid, peerinfo, stream/connection, multiaddress,
crypto/crypto, transports/[transport, tcptransport],
muxers/[muxer, mplex/mplex],
protocols/[identify, secure/secure, secure/noise],
connmanager
export libp2p export
switch, peerid, peerinfo, connection, multiaddress, crypto
import connmanager
type type
SecureProtocol* {.pure.} = enum SecureProtocol* {.pure.} = enum