Skip to content

Rust implementation of the JDA-NAS interface

License

Notifications You must be signed in to change notification settings

MinnDevelopment/udpqueue.rs

Repository files navigation

publish-natives rust-clippy analyze

udpqueue.rs

This is a rust implementation of the original JDA-NAS natives. This can be used to make a minimal modular jar with only the required target natives.

Setup

Supported native platforms:

Linux x86 (intel):

Linux ARM (v7 and x64):

Windows x86 (intel):

MacOS/Darwin universal (x86 intel & aarch64 M1):

More platforms can be added on request. Linux shared libraries are compiled against GLIBC 2.18.

Simply install the version of udpqueue-native-* for your platform:

repositories {
    mavenCentral()
}

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
}

Alternatively, you can also install rustup locally on your target platform and build it yourself.

Use ./install.sh <triplet> to install the jar for your specific platform in maven local. Example: ./install.sh x86_64-unknown-linux-gnu

To add all supported platforms, you can use this:

repositories {
    mavenCentral()
}

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")
}

About

Rust implementation of the JDA-NAS interface

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published