diff --git a/.cargo/config.toml b/.cargo/config.toml index 44d20d6..99f490d 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,9 +1,9 @@ -[target.aarch64-unknown-linux-musl] -linker = "aarch64-linux-musl-gcc" -rustflags = ["-C", "target-feature=-crt-static"] - -[target.x86_64-apple-darwin] -rustflags = ["-C", "link-args=-Wl,-undefined,dynamic_lookup"] - -[target.aarch64-apple-darwin] +[target.aarch64-unknown-linux-musl] +linker = "aarch64-linux-musl-gcc" +rustflags = ["-C", "target-feature=-crt-static"] + +[target.x86_64-apple-darwin] +rustflags = ["-C", "link-args=-Wl,-undefined,dynamic_lookup"] + +[target.aarch64-apple-darwin] rustflags = ["-C", "link-args=-Wl,-undefined,dynamic_lookup"] \ No newline at end of file diff --git a/Cargo.toml b/Cargo.toml index 13a619c..d9ce0e0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,23 +1,23 @@ -[package] -edition = "2021" -name = "mediaplex" -version = "0.0.0" - -[lib] -crate-type = ["cdylib"] - -[dependencies] -napi = { git = "https://github.com/napi-rs/napi-rs", default-features = false, features = [ - "napi4", -] } -napi-derive = { git = "https://github.com/napi-rs/napi-rs" } -symphonia = { version = "0.5.3", features = ["all"] } - -[build-dependencies] -napi-build = { git = "https://github.com/napi-rs/napi-rs" } -cmake = "0.1" -bindgen = "0.59.1" -pkg-config = "0.3.17" - -[profile.release] -lto = true +[package] +edition = "2021" +name = "mediaplex" +version = "0.0.0" + +[lib] +crate-type = ["cdylib"] + +[dependencies] +napi = { git = "https://github.com/napi-rs/napi-rs", default-features = false, features = [ + "napi4", +] } +napi-derive = { git = "https://github.com/napi-rs/napi-rs" } +symphonia = { version = "0.5.3", features = ["all"] } + +[build-dependencies] +napi-build = { git = "https://github.com/napi-rs/napi-rs" } +cmake = "0.1" +bindgen = "0.69.4" +pkg-config = "0.3.17" + +[profile.release] +lto = true