Cargo Features

[dependencies]
dash-mpd = { version = "0.15.0", default-features = false, features = ["fetch", "libav", "scte35", "warn_ignored_elements", "compression", "socks", "native-tls", "rustls-tls", "trust-dns"] }
default = compression, fetch, native-tls, scte35, socks

These default features are set whenever dash-mpd is added without default-features = false somewhere in the dependency tree.

fetch default = async-recursion, backoff, bstr, colored, data-url, ffprobe, file-format, governor, hex-literal, pssh-box, reqwest, sanitise-file-name, tempfile, tokio, xmltree

Affects dash-mpd::fetch

libav = ac-ffmpeg
scte35 default

Affects dash-mpd::scte35, dash-mpd::Event.signal, dash-mpd::Event.splice_info_section, dash-mpd::MPD.scte35

warn_ignored_elements = serde_ignored
compression default

Enables gzip of reqwest

socks default

Enables socks of reqwest

native-tls default

Enables native-tls of reqwest

reqwest:

Enables native-tls specific functionality not available by default.

rustls-tls

Enables rustls-tls of reqwest

trust-dns

Enables trust-dns of reqwest

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

serde_ignored warn_ignored_elements?
data-url fetch
reqwest compression fetch native-tls rustls-tls? socks trust-dns?
tokio fetch
backoff fetch
governor fetch
xmltree fetch
async-recursion fetch
tempfile fetch
sanitise-file-name fetch
colored fetch
ac-ffmpeg libav?
ffprobe fetch
file-format fetch
bstr fetch
hex-literal fetch
pssh-box fetch