unum-cloud / usearch

Fast Open-Source Search & Clustering engine × for Vectors & 🔜 Strings × in C++, C, Python, JavaScript, Rust, Java, Objective-C, Swift, C#, GoLang, and Wolfram 🔍
https://unum-cloud.github.io/usearch/
Apache License 2.0
2.15k stars 130 forks source link

Fix loading of Linux native lib from jar using NativeUtils.java from … #305

Closed superkelvint closed 10 months ago

superkelvint commented 10 months ago

https://github.com/adamheinrich/native-utils.

NativeUtils works by copying the native lib to a temporary directory.

NOTE: as the current jar is not cross-platform and only includes the Linux native lib (libusearch.so), this is the native lib that is copied. When the native libs for other platforms are added, the code in Index.java needs to be updated to become platform-specific.

ashvardanian commented 10 months ago

:tada: This PR is included in version 2.8.11 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: