Skip to content

leeroy-travis/ironoxide-java

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IronCore Labs IronOxide Java SDK

SDK for using IronCore Labs from your Java server side applications. This library is a thin Rust shim that wraps the Rust SDK and uses the Rust Swig toolset to generate JNI bindings to make it callable from the JVM.

Generating the JNI Bindings

Prerequisites:

From the root of this repository run cargo build. The resulting java directory will have the JNI binding code for the Java side and target/debug or target/release will have the dynamic library file you need to pull into your Java code. It will be libironoxide_java.so or libironoxide_java.dylib depending on your environment. This library will only work on the architecture from which it was built.

This binary should be placed in your Java library path and can then be loaded by calling

java.lang.System.loadLibrary("ironoxide_java")

Then all of the SDK classes can be imported from the com.ironcorelabs.sdk namespace.

Copyright (c) 2017-present IronCore Labs, Inc. All rights reserved.

About

IronCore Labs SDK for JVM Applications

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 62.4%
  • Scala 36.7%
  • Shell 0.9%