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/tcptransport,
protocols/secure/noise,
cid,
multihash,
multibase,
multicodec,
errors,
switch,
peerid,
peerinfo,
multiaddress,
standard_setup,
crypto/crypto]
import bearssl
@ -30,4 +35,5 @@ export
minprotobuf, switch, peerid, peerinfo,
connection, multiaddress, crypto, lpstream,
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 chronos
import ../libp2p
import
options, tables, chronos, bearssl,
switch, peerid, peerinfo, stream/connection, multiaddress,
crypto/crypto, transports/[transport, tcptransport],
muxers/[muxer, mplex/mplex],
protocols/[identify, secure/secure, secure/noise],
connmanager
export libp2p
import connmanager
export
switch, peerid, peerinfo, connection, multiaddress, crypto
type
SecureProtocol* {.pure.} = enum