[package] authors = ["Benjamin Klum ", "Timofei Kazantsev aka Levitanus "] build = "build.rs" categories = ["api-bindings", "multimedia", "multimedia::audio"] description = "Bindings for the REAPER C++ API - low-level API" edition = "2021" include = [ "/lib/reaper/reaper_plugin.h", "/lib/WDL/WDL/swell/*.h", "/lib/WDL/WDL", "/src", "/tests", "/build.rs", "/Cargo.toml", "/CHANGELOG.md", ] keywords = ["reaper", "daw", "plug-in", "audio", "midi"] license = "MIT" name = "rea-rs-low" readme = "../README.md" repository = "https://github.com/helgoboss/reaper-rs" version = "0.1.31" [features] default = [] # Regenerates `bindings.rs` from C++ header files and right after that `reaper.rs` and `swell.rs` from `bindings.rs`. generate = ["generate-stage-one", "generate-stage-two"] # Stage 1 runs on Linux only. # After stage 1 has runned, we should run stage 2 as well (because stage 2 depends on the results of stage 1). generate-stage-one = ["generate-stage-two", "bindgen"] # Stage 2 can run separately. generate-stage-two = ["quote", "prettyplease", "syn", "proc-macro2", "phf"] [dependencies] c_str_macro = "1.0.2" derive_more = "0.99.5" downcast-rs = "1.1.1" vst = "0.3" [target.'cfg(windows)'.dependencies] winapi = {version = "0.3", features = ["winuser"]} [target.'cfg(unix)'.dependencies] libc = "0.2" [dev-dependencies] version-sync = "0.9.2" [build-dependencies] bindgen = {version = "0.52.0", optional = true} cc = "1.0.65" phf = {version = "0.8", features = ["macros"], optional = true} proc-macro2 = {version = "1.0.8", optional = true} quote = {version = "1.0.2", optional = true} prettyplease = {version="0.1.25", optional = true} syn = {version = "1.0.14", features = ["full"], optional = true}