Cargo Features
[dependencies]
cdtoc = { version = "0.5.2", default-features = false, features = ["accuraterip", "asm", "cddb", "ctdb", "musicbrainz", "serde"] }
- default = accuraterip, cddb, ctdb, musicbrainz
-
These default features are set whenever
cdtoc
is added without
somewhere in the dependency tree.default-features = false - accuraterip default = cddb
-
Enable AccurateRip ID calculations.
- asm
-
Enable the sha1 crate's "asm" feature. This will speed up CTDB/MusicBrainz ID crunching ~5-10%, but otherwise has no effect.
WARNING: this is *only* compatible with aarch64, x86, and x86_64 targets! - cddb default accuraterip = itoa
-
Enable CDDB ID calculations.
- ctdb default = itoa, sha1
-
Enable CUETools Database ID calculations.
- musicbrainz default = sha1
-
Enable MusicBrainz ID calculations.
- serde
-
Enable de/serialization support for most types.
Enables serde
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.