Cargo Features

[dependencies]
peermerge = { version = "0.0.3", default-features = false, features = ["hypercore-feed", "wasm-bindgen", "log", "async-std-runtime", "tokio-runtime", "channel-writer"] }
default = hypercore-feed, tokio-runtime, wasm-bindgen

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

hypercore-feed default = hypercore-protocol

support for p2panda in a backwards-compatible way

wasm-bindgen default = wasm-bindgen-futures

Enables wasm of automerge, wasm-bindgen of hypercore-protocol ^0.4, js of uuid

log

Enables log of tracing

async-std-runtime = async-std

Enables async-std of hypercore-protocol ^0.4 and random-access-disk

tokio-runtime default = tokio

Enables tokio of hypercore-protocol ^0.4 and random-access-disk

channel-writer = bytes

Affects peermerge::channel_writer

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.

hypercore-protocol async-std-runtime? hypercore-feed tokio-runtime wasm-bindgen

Enables hypercore-protocol ^0.4

wasm-bindgen-futures wasm-bindgen
bytes channel-writer?
tokio not wasm32 tokio-runtime
async-std not wasm32 async-std-runtime?