Cargo Features
[dependencies]
midi-reader-writer = { version = "0.1.2", default-features = false, features = ["convert-time", "read", "engine-midly-0-5"] }
- default = convert-time, read
-
These default features are set whenever
midi-reader-writer
is added without
somewhere in the dependency tree.default-features = false - convert-time default = timestamp-stretcher
-
Affects
midi-reader-writer::TimeConversionError
,midi-reader-writer::ConvertTicksToMicroseconds
,midi-reader-writer::MidiEvent
,midi-reader-writer::ConvertMicroSecondsToTicks
… - read default = itertools
-
Affects
midly_0_5::merge_tracks
… - engine-midly-0-5 = midly-0-5
-
Affects
midi-reader-writer::midly_0_5
…
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.
- timestamp-stretcher convert-time
- midly-0-5 engine-midly-0-5?
-
Enables midly
- itertools read
-
Enables itertools ^0.10.1