mirror of
https://github.com/vacp2p/nim-libp2p.git
synced 2025-01-12 09:44:14 +00:00
add multi types to exports (#527)
* add multitypes to exports * export standard setup
This commit is contained in:
parent
f4145ebbfa
commit
12adefb4de
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user