Add Rust Library

This commit is contained in:
GuilhermeWerner 2021-05-07 08:42:42 -03:00
parent 362bb7f973
commit 1e18dd4cb2
4 changed files with 66 additions and 0 deletions

18
Cargo.toml Normal file
View file

@ -0,0 +1,18 @@
[package]
name = "TribuFu-jvm"
version = "0.0.1"
description = "Jvm bindings to TribuFu SDK"
repository = "https://github.com/TribuFu/SDK"
authors = ["TribuFu <contact@tribufu.com>"]
license = "Apache-2.0"
edition = "2018"
publish = false
[lib]
name="TribuFu_jvm"
crate-type = ["cdylib", "rlib"]
path = "Source/lib.rs"
[dependencies]
TribuFu_sys = { path = "../DevKit.Rs/Native", package = "TribuFu-sys" }
jni = "0.19.0"