From 96ac810e16f0c4576a73a516a2cd02929469a0cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Spie=C3=9F?= Date: Tue, 23 Dec 2025 18:40:46 +0100 Subject: [PATCH 1/3] Update readme and changelog --- CHANGELOG.md | 3 ++- README.md | 30 ++++++++++++++++++------------ build.sh | 20 -------------------- install.sh | 19 ------------------- 4 files changed, 20 insertions(+), 52 deletions(-) delete mode 100644 build.sh delete mode 100644 install.sh diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c9316c..5cd3116 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,9 @@ # Changelog -## v0.2.10 - TBD +## v0.2.10 - 2025/12/23 - Update dependencies and modernize gradle project +- Raised minimum supported GLIBC version to 2.27 ## v0.2.9 - 2024/08/21 diff --git a/README.md b/README.md index 1fe3b5a..71d8165 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ [![publish-natives](https://github.com/MinnDevelopment/udpqueue.rs/actions/workflows/publish.yml/badge.svg)](https://github.com/MinnDevelopment/udpqueue.rs/actions/workflows/publish.yml) +[![build](https://github.com/MinnDevelopment/udpqueue.rs/actions/workflows/build.yml/badge.svg)](https://github.com/MinnDevelopment/udpqueue.rs/actions/workflows/build.yml) [![rust-clippy analyze](https://github.com/MinnDevelopment/udpqueue.rs/actions/workflows/rust-clippy.yml/badge.svg)](https://github.com/MinnDevelopment/udpqueue.rs/actions/workflows/rust-clippy.yml) # udpqueue.rs @@ -44,14 +45,19 @@ repositories { dependencies { // Fully modular, choose which platforms to use! - implementation("club.minnced:udpqueue-native-linux-x86-64:0.2.9") // adds linux 64bit - implementation("club.minnced:udpqueue-native-win-x86-64:0.2.9") // adds windows 64bit + implementation("club.minnced:udpqueue-native-linux-x86-64:0.2.10") // adds linux 64bit + implementation("club.minnced:udpqueue-native-win-x86-64:0.2.10") // adds windows 64bit } ``` Alternatively, you can also install rustup locally on your target platform and build it yourself. -Use `./install.sh ` to install the jar for your specific platform in maven local. Example: `./install.sh x86_64-unknown-linux-gnu` +Example: + +``` +rustup target add x86_64-unknown-linux-gnu +./gradlew publishToMavenLocal -Ptarget=x86_64-unknown-linux-gnu +``` To add all supported platforms, you can use this: @@ -61,14 +67,14 @@ repositories { } dependencies { - implementation("club.minnced:udpqueue-native-linux-x86-64:0.2.9") - implementation("club.minnced:udpqueue-native-linux-x86:0.2.9") - implementation("club.minnced:udpqueue-native-linux-aarch64:0.2.9") - implementation("club.minnced:udpqueue-native-linux-arm:0.2.9") - implementation("club.minnced:udpqueue-native-linux-musl-x86-64:0.2.9") - implementation("club.minnced:udpqueue-native-linux-musl-aarch64:0.2.9") - implementation("club.minnced:udpqueue-native-win-x86-64:0.2.9") - implementation("club.minnced:udpqueue-native-win-x86:0.2.9") - implementation("club.minnced:udpqueue-native-darwin:0.2.9") + implementation("club.minnced:udpqueue-native-linux-x86-64:0.2.10") + implementation("club.minnced:udpqueue-native-linux-x86:0.2.10") + implementation("club.minnced:udpqueue-native-linux-aarch64:0.2.10") + implementation("club.minnced:udpqueue-native-linux-arm:0.2.10") + implementation("club.minnced:udpqueue-native-linux-musl-x86-64:0.2.10") + implementation("club.minnced:udpqueue-native-linux-musl-aarch64:0.2.10") + implementation("club.minnced:udpqueue-native-win-x86-64:0.2.10") + implementation("club.minnced:udpqueue-native-win-x86:0.2.10") + implementation("club.minnced:udpqueue-native-darwin:0.2.10") } ``` diff --git a/build.sh b/build.sh deleted file mode 100644 index 6e4d93b..0000000 --- a/build.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -#################################################################################### -# Specify the target triplet as first parameter -# You can get a list of the installed targets with `rustup target list --installed` -# Add new targets with `rustup add target ` -# -# Example: ./build.sh x86_64-unknown-linux-gnu -#################################################################################### - -target=$1 - -echo "Building for target: $target" - -pushd native -cargo build -r --target=$target -popd - -chmod u+x gradlew -./gradlew --console plain build -Ptarget=$target diff --git a/install.sh b/install.sh deleted file mode 100644 index 68f83c9..0000000 --- a/install.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -#################################################################################### -# Specify the target triplet as first parameter -# You can get a list of the installed targets with `rustup target list --installed` -# Add new targets with `rustup add target ` -# -# Example: ./install.sh x86_64-unknown-linux-gnu -#################################################################################### - -if [ "$1" ]; then - target="$1" -else - echo "No target specified, taking first rustup installed target instead" - target="`rustup target list --installed | head -1`" -fi - -./build.sh $target -./gradlew --console plain publishToMavenLocal -Ptarget=$target \ No newline at end of file From ec212a6898926aa6241f7fa2eebf88a286c833f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Spie=C3=9F?= Date: Tue, 23 Dec 2025 18:41:53 +0100 Subject: [PATCH 2/3] Update version in Cargo.toml --- native/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/Cargo.toml b/native/Cargo.toml index 3a9ec73..e718a23 100644 --- a/native/Cargo.toml +++ b/native/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "udpqueue" -version = "0.2.7" +version = "0.2.10" edition = "2024" [dependencies] From cb8f29d020a03d6c84818e0136d5218106195c56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Spie=C3=9F?= Date: Tue, 23 Dec 2025 18:42:14 +0100 Subject: [PATCH 3/3] Add .kotlin to .gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index dfcbf40..a34f035 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ target build .gradle +.kotlin native/src/main/natives