Cargo Features

[dependencies]
observability = { version = "0.1.3", default-features = false, features = ["opentelemetry-on", "channels"] }
default = opentelemetry-on

The opentelemetry-on feature is set by default whenever observability is added without default-features = false somewhere in the dependency tree.

opentelemetry-on default = holochain_serialized_bytes, opentelemetry, serde, serde_bytes, tracing-opentelemetry

Allows across thread and process tracing

channels = shrinkwraprs, tokio

Affects open::channel

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.

opentelemetry opentelemetry-on

Enables opentelemetry ^0.8

tracing-opentelemetry opentelemetry-on

Enables tracing-opentelemetry ^0.8.0

holochain_serialized_bytes opentelemetry-on
serde opentelemetry-on
serde_bytes opentelemetry-on
tokio channels?

Enables tokio ^0.2

shrinkwraprs channels?