Cargo Features

[dependencies]
logfire = { version = "0.5.0", default-features = false, features = ["serde", "export-grpc", "export-http-protobuf", "export-http-json"] }
default = export-http-protobuf

The export-http-protobuf feature is set by default whenever logfire is added without default-features = false somewhere in the dependency tree.

serde

Enables serde

export-grpc

FIXME might need rustls feature on all of these?

Enables tonic ^0.12, grpc-tonic and tls of opentelemetry-otlp and http

deps for grpc export

export-http-protobuf default

Enables http-proto, reqwest-blocking-client and reqwest-rustls of opentelemetry-otlp

export-http-json

Enables http-json, reqwest-blocking-client and reqwest-rustls of opentelemetry-otlp