Improve asio sys build script (#809)

* Make build script more robust

* Make build dependencies available regardless of target

* Fix error about the u32 i32 type mismatch

* Update readme

* Fix target_arch bug
This commit is contained in:
Ali Somay 2023-11-11 16:27:55 +01:00 • committed by GitHub
parent 3a449538b7
commit efa0c7af6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 401 additions and 112 deletions

View file

@ -9,12 +9,13 @@ license = "Apache-2.0"
keywords = ["audio", "sound", "asio", "steinberg"]
build = "build.rs"
[target.'cfg(any(target_os = "windows"))'.build-dependencies]
bindgen = "0.68"
[build-dependencies]
bindgen = "0.69"
walkdir = "2"
cc = "1.0.83"
parse_cfg = "4.1.1"
[dependencies]
once_cell = "1.12"
num-derive = "0.3"
num-derive = "0.4"
num-traits = "0.2"