diff --git a/build.gradle.kts b/build.gradle.kts index a3b4f91..705d10d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -233,13 +233,13 @@ fun copyRustBuild() { val originLib = when (currentOs()) { OS.LINUX -> "libgitnuro_rs.so" OS.WINDOWS -> "gitnuro_rs.dll" - OS.MAC -> "libgitnuro_rs.so" //TODO or is it a dylib? must be tested + OS.MAC -> "libgitnuro_rs.dylib" } val destinyLib = when (currentOs()) { OS.LINUX -> "libuniffi_gitnuro.so" OS.WINDOWS -> "uniffi_gitnuro.dll" - OS.MAC -> "libuniffi_gitnuro.so" //TODO or is it a dylib? must be tested + OS.MAC -> "libuniffi_gitnuro.dylib" } val originFile = File(workingDir, originLib) diff --git a/rs/Cargo.toml b/rs/Cargo.toml index 4f12390..b3fccc8 100644 --- a/rs/Cargo.toml +++ b/rs/Cargo.toml @@ -13,7 +13,7 @@ name = "gitnuro_rs" uniffi = { version = "0.24.1" } notify = "6.0.1" thiserror = "1.0.43" -libssh-rs = "0.2.1" +libssh-rs = { version = "0.2.1", features = [ "vendored", "vendored-openssl" ] } [build-dependencies] uniffi = { version = "0.24.1", features = [ "build" ] }