Cargo Features

[dependencies]
mdns-proto = { version = "0.1.0", default-features = false, features = ["std", "alloc", "slab", "tracing"] }
default = std

The std feature is set by default whenever mdns-proto is added without default-features = false somewhere in the dependency tree.

std default

Enables dns-protocol-patch, simdutf8, optional slab, and thiserror

alloc

Features from optional dependencies

slab implicit feature

Enables slab

slab:

Pre-allocated storage for a uniform data type

Affects server::SlabEndpoint

tracing implicit feature

Enables tracing

tracing:

Application-level tracing for Rust