Cargo Features
[dependencies]
libflac-sys = { version = "0.3.1", default-features = false, features = ["build-flac", "build-ogg"] }
- default = build-flac, build-ogg
-
These default features are set whenever
libflac-sys
is added without
somewhere in the dependency tree.default-features = false - build-flac default build-ogg = cmake
- build-ogg default = build-flac
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.
- cmake build build-flac
-
Enables cmake
0.1.45 adds cmake::Config::get_profile()