mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-03 13:11:21 +00:00
Merge branch 'master' into rand-feature
This commit is contained in:
commit
9c3fd0ef2b
@ -76,10 +76,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
|
||||
noise::Config::new,
|
||||
yamux::Config::default,
|
||||
)?
|
||||
.with_quic_config(|mut cfg| {
|
||||
cfg.support_draft_29 = true;
|
||||
cfg
|
||||
})
|
||||
.with_quic()
|
||||
.with_dns()?
|
||||
.with_behaviour(|key| {
|
||||
behaviour::Behaviour::new(key.public(), opt.enable_kademlia, opt.enable_autonat)
|
||||
|
Loading…
x
Reference in New Issue
Block a user