robusta icon indicating copy to clipboard operation
robusta copied to clipboard

Easy interop between Rust and Java

Results 29 robusta issues
Sort by recently updated
recently updated
newest added

I am making a test project to get familiar with the library before using it in production and I have a problem when calling a Rust function that returns custom...

Is there any way - or intent to add it - to create a binding for a generic class like [`Optional`](https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html) and have `Result` as a [return value type](https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html#get--) or...

Default implementation for `TryFromJavaValue` looks like the following: ```rust #[automatically_derived] impl< 'env: 'borrow, 'borrow, > ::robusta_jni::convert::TryFromJavaValue for RubyModule { type Source = ::robusta_jni::jni::objects::JObject

Hi there! I just started using your library, and it worked perfectly well the first time I used it (2 days ago). The IDE was complaining about `description()` being deprecated,...

It would be nice to add an example that does some common / simple benchmarks. One uses all native Java code, and the other uses Java code that calls the...

I have the "catch all panics" wrapper around the code and return a JNI error in this case. With the introduction of errors enum in `0.2.1` this stopped working. Right...

I am trying to set up a project using the `robusta_jni` crate, and today I started seeing a weird issue where the `pub` keyword in my "jni" (implemented on the...

As far as I understand, the exception class and message are constants for a given fallible method, irrespective of the error that might be returned: ```rust #[call_type(safe(exception_class = "com.example.MyException", message...

I want to got the types of errors in java. but JniError::ThrowFailed becomes RuntimeException in Java. Use of RuntimeException is not conducive to error analysis. I hope to get code...