Cargo Features
[dependencies]
exocore-transport = { version = "0.1.25", 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
somewhere in the dependency tree.default-features = false - http-server default = hyper, url
-
Enables runtime of exocore-core
Affects
exocore-transport::http
,exocore-transport::either
… - p2p-base p2p-full p2p-web? = libp2p
-
Affects
exocore-transport::p2p
… - p2p-full default = p2p-base
-
Enables tcp of libp2p ^0.51.3
Affects
transport::build_transport
,exocore-transport::either
… - p2p-web = gloo-timers, p2p-base
-
Enables wasm-bindgen and wasm-ext-websocket of libp2p ^0.51.3
- 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.
- gloo-timers p2p-web?
-
Enables gloo-timers ^0.2
- hyper http-server
-
Enables hyper ^0.14.26
- libp2p p2p-base? p2p-full p2p-web?
-
Enables libp2p ^0.51.3
- url http-server