Cargo Features

[dependencies]
exocore-transport = { version = "0.1.26", default-features = false, features = ["http-server", "p2p-base", "p2p-full", "p2p-web", "tests-utils"] }
default = http-server, p2p-full

These default features are set whenever exocore-transport is added without default-features = false somewhere in the dependency tree.

http-server default = hyper, url

Enables runtime of exocore-core

Affects exocore-transport::http, exocore-transport::either

p2p-base p2p-full p2p-web? = libp2p, libp2p-mplex

Affects exocore-transport::p2p

p2p-full default = p2p-base

Enables tcp of libp2p ^0.53.2

Affects transport::build_transport, exocore-transport::either

p2p-web = p2p-base

Enables wasm-bindgen and websocket-websys of libp2p ^0.53.2

tests-utils

Enables tests-utils of exocore-core

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

hyper http-server

Enables hyper ^0.14.30

libp2p p2p-base? p2p-full p2p-web?

Enables libp2p ^0.53.2

libp2p-mplex p2p-base?

Enables libp2p-mplex ^0.41.0

url http-server