mirror of
https://github.com/microsoft/regorus.git
synced 2026-08-05 02:16:11 +00:00
Regorus now defaults to rego v1. `import rego.v1` is no longer needed. Additionally, `future` keywords are automatically imported. See https://www.openpolicyagent.org/docs/latest/v0-upgrade/#changes-to-rego-in-opa-v10 to understand the differences between rego v1 and v0. BREAKING CHANGE: v0 style policies will error out by default. To enable v0 behavior, call engine.set_rego_v0(true) before loading policies. Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
22 lines
533 B
TOML
22 lines
533 B
TOML
[package]
|
|
name = "regorusrb"
|
|
version = "0.3.0"
|
|
edition = "2024"
|
|
description = "Ruby bindings for Regorus - a fast, lightweight Rego interpreter written in Rust"
|
|
publish = false
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
path = "src/lib.rs"
|
|
|
|
[features]
|
|
default = ["ast", "coverage", "regorus/std", "regorus/full-opa"]
|
|
ast = ["regorus/ast"]
|
|
coverage = ["regorus/coverage"]
|
|
|
|
[dependencies]
|
|
magnus = { version = "0.7.1" }
|
|
regorus = { path = "../../../..", default-features = false, features = ["arc"] }
|
|
serde_json = "1.0.140"
|
|
serde_magnus = "0.9.0"
|