Cargo Features

[dependencies]
tori = { version = "0.2.6", default-features = false, features = ["clip", "mpv", "tori-player"] }
default = clip, mpv

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

clip default = clipboard

Affects util::copy_to_clipboard

mpv default = libmpv-sys, mpv034, mpv035

Affects player::DefaultPlayer

tori-player

Enables tori-player

Player: tori-player

Affects player::DefaultPlayer

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.

clipboard clip

Enables clipboard

clipboard is optional because docs.rs doesn't build the xcb="0.8" dependency also because I couldn't make any other clipboard crate work

libmpv-sys mpv

Enables libmpv-sys

Player: mpv

mpv034 mpv

Enables libmpv

Works with mpv <= v0.34

mpv035 mpv

Enables libmpv-sirno

Works with mpv v0.35