Cargo features
Compile-time capabilities and their dependency effects.
| Feature | Default | Effect |
|---|---|---|
proj | yes | Enables general CRS transformation through system libproj. |
mosaic | yes | Enables MosaicTiler, MosaicSource, MosaicJSON, and async asset fan-out. |
webp | no | Enables lossless WebP encoding through image. |
jpeg | no | Enables JPEG encoding; alpha is flattened because JPEG has no alpha channel. |
stac | no | Adds the STAC client and implies mosaic. |
perf-tracing | no | Emits detailed internal timing events. |
tokio-console | no | Enables Tokio Console integration and implies perf-tracing. |
Examples:
The serve, mosaic_source, and mosaic_json examples require the mosaic
feature. PNG support is always compiled.