scsynth-sys 0.1.0

Raw FFI bindings to a statically-linked SuperCollider scsynth engine.
[package]
name = "scsynth-sys"
version = "0.1.0"
description = "Raw FFI bindings to a statically-linked SuperCollider scsynth engine."
readme = "README.md"
authors.workspace = true
edition.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
links = "scsynth"
build = "build.rs"

[build-dependencies]
bindgen.workspace = true
cc.workspace = true
cmake.workspace = true
pkg-config.workspace = true

# On wasm32 there is no system C/C++ toolchain or libsndfile/fftw: the engine is
# compiled from source against a from-source musl + libc++. These deps export
# their include dirs (DEP_WASM32_LIBC_INCLUDE / DEP_WASM32_LIBCXX_INCLUDE) and
# static archives, consumed by `build_wasm` in build.rs.
[target.'cfg(target_arch = "wasm32")'.dependencies]
scsynth-wasm32-libc = { version = "0.3.0", path = "../../wasm-toolchain/scsynth-wasm32-libc" }
scsynth-wasm32-libcxx = { version = "0.1.0", path = "../../wasm-toolchain/scsynth-wasm32-libcxx" }