mirror of
https://github.com/microsoft/regorus.git
synced 2026-08-05 02:16:11 +00:00
- FFI: add RVM/Program APIs, execution state accessors, HostAwait handling, and buffer/result helpers in rvm.rs, common.rs, engine.rs. - Compiler: emit HostAwait for __builtin_host_await in function_calls.rs. - RVM tests: add HostAwait regression cases and extend harness for suspend/resume responses in host_await.yaml and mod.rs. - C/C++: add RVM tests/examples and wrapper updates in rvm_tests.c, rvm_tests.cpp, regorus.hpp, plus CMake wiring. - C#: add Program/Rvm bindings, SafeHandle/PInvoke, tests, and example usage in Regorus, RvmProgramTests.cs, Program.cs, and README updates. - Go: add Program/Rvm bindings, tests, and examples in rvm.go, rvm_test.go, main.go. - Java: add Program/Rvm bindings, JNI glue, and examples in lib.rs, regorus, Test.java. - Python: add Program/Rvm bindings and examples in lib.rs, test.py. - WASM: add Program/Rvm bindings and examples in lib.rs, test.js. - Tooling: wire binding tests in xtask and ignore generated Java artifacts in .gitignore. Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
25 lines
714 B
TOML
25 lines
714 B
TOML
[workspace]
|
|
|
|
[package]
|
|
name = "regorus-java"
|
|
version = "0.9.0"
|
|
edition = "2021"
|
|
repository = "https://github.com/microsoft/regorus/bindings/java"
|
|
description = "Java bindings for Regorus - a fast, lightweight Rego interpreter written in Rust"
|
|
keywords = ["interpreter", "opa", "policy-as-code", "rego"]
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[features]
|
|
default = ["ast", "coverage", "regorus/std", "regorus/full-opa"]
|
|
coverage = ["regorus/coverage"]
|
|
ast = ["regorus/ast"]
|
|
|
|
[dependencies]
|
|
anyhow = "1.0"
|
|
serde_json = "1.0.112"
|
|
jni = "0.21.1"
|
|
regorus = { path = "../..", default-features = false, features = ["arc", "rvm"] }
|