Skip to content
This repository has been archived by the owner on Oct 28, 2023. It is now read-only.

Set sane default cargo features and remove dependency on rimd #77

Merged
merged 7 commits into from
May 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@ autoexamples = false
edition = "2018"

[features]
default = ["all"]
all = ["backend-jack", "backend-vst", "backend-combined-all"]
backend-jack = ["jack"]
backend-vst = ["vst"]
backend-combined-all = ["backend-combined-hound", "backend-combined-rimd"]
backend-combined-all = ["backend-combined-hound"] # Should be: ["backend-combined-hound", "backend-combined-rimd"]
backend-combined-hound = ["hound", "backend-combined", "sample"]
backend-combined-rimd = ["rimd", "backend-combined"]
# backend-combined-rimd = ["rimd", "backend-combined"]
backend-combined = []

[dependencies]
Expand All @@ -26,7 +25,7 @@ jack = {version = "0.6.2", optional = true}
vst = {version = "0.2.0", optional = true}
hound = {version = "3.4.0", optional = true}
sample = {version = "0.10.0", optional = true}
rimd = {git = "https://github.com/RustAudio/rimd.git", optional = true}
# rimd = {git = "https://github.com/RustAudio/rimd.git", optional = true}
vecstorage = "0.1.0"
midi-consts = "0.1.0"

Expand Down
2 changes: 1 addition & 1 deletion src/backend/combined/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
//!
//! * Dummy: [`AudioDummy`]: dummy audio input (generates silence) and output and [`MidiDummy`]: dummy midi input (generates no events) and output
//! * Hound: [`HoundAudioReader`] and [`HoundAudioWriter`]: read and write `.wav` files (behind the "backend-combined-hound" feature)
//! * Rimd: [`RimdMidiReader`] and [`RimdMidiWriter`]: reand and write `.mid` files (behind the "backend-combined-rimd" feature)
//! * Rimd: [`RimdMidiReader`] and [`RimdMidiWriter`]: reand and write `.mid` files (behind the "backend-combined-rimd" feature, only available when using `rsynth` from sources, not from crates.io)
//! * Memory: [`AudioBufferReader`] and [`AudioBufferWriter`]: read and write audio from memory
//! * Testing: [`TestAudioReader`] and [`TestAudioWriter`]: audio input and output, to be used in tests
//!
Expand Down