فهرست منبع

Add hound as default wav feature for loading Sample and Map types from wav files.

mitchmindtree 10 سال پیش
والد
کامیت
9f533ad16b
1فایلهای تغییر یافته به همراه8 افزوده شده و 1 حذف شده
  1. 8 1
      Cargo.toml

+ 8 - 1
Cargo.toml

@@ -3,12 +3,19 @@ name = "sampler"
 version = "0.1.0"
 authors = ["mitchmindtree <mitchell.nordine@gmail.com>"]
 
+[features]
+default = ["wav"]
+wav = ["hound"]
+
 [dependencies]
+instrument = { path = "../instrument" }
 pitch_calc = "0.10.0"
 sample = "0.3.0"
 time_calc = "0.10.1"
 
+# optional dependencies
+hound = { optional = true, version = "1.1.0" }
+
 [dev-dependencies]
 find_folder = "0.3.0"
-hound = "1.1.0"
 portaudio = "0.6.2"