Cargo Features

[dependencies]
r-u-still-there = { version = "0.3.0", default-features = false, features = ["mjpeg", "mock_camera", "piston_resize", "mozjpeg_simd"] }
default = mjpeg, mozjpeg, piston_resize

Use mozjpeg by default. mozjpeg is the difference 10 FPS taking <50% CPU on a Beaglebone and lagging because the CPU is pegged.

mjpeg default

Enables hyper ^0.14.14, sync of tokio and tokio-stream

mock_camera = async-bincode, bincode

Enables recording the data read from cameras and later playing back that data.
Useful mainly for development purposes, so you don't need an actual camera present as well as for benchmarking changes.

Enables fs of tokio

piston_resize default = parking_lot, resize, rgb
mozjpeg_simd

Enables with_simd of mozjpeg ^0.9.1

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.

async-bincode mock_camera?

Enables async-bincode ^0.6.1

bincode mock_camera?
mozjpeg default mozjpeg_simd?

Enables mozjpeg ^0.9.1

parking_lot piston_resize

Enables parking_lot ^0.11.2

resize piston_resize

Enables resize ^0.7.2

rgb piston_resize
hyper mjpeg

Enables hyper ^0.14.14