![]() |
VOOZH | about |
dotnet add package OpaDotNet.Compilation.Interop --version 2.1.0
NuGet\Install-Package OpaDotNet.Compilation.Interop -Version 2.1.0
<PackageReference Include="OpaDotNet.Compilation.Interop" Version="2.1.0" />
<PackageVersion Include="OpaDotNet.Compilation.Interop" Version="2.1.0" />Directory.Packages.props
<PackageReference Include="OpaDotNet.Compilation.Interop" />Project file
paket add OpaDotNet.Compilation.Interop --version 2.1.0
#r "nuget: OpaDotNet.Compilation.Interop, 2.1.0"
#:package OpaDotNet.Compilation.Interop@2.1.0
#addin nuget:?package=OpaDotNet.Compilation.Interop&version=2.1.0Install as a Cake Addin
#tool nuget:?package=OpaDotNet.Compilation.Interop&version=2.1.0Install as a Cake Tool
Rego compiler which uses interop wrapper for subset
of OPA SDK for policy bundle compilation and packaging.
Note. Due to inclusion of native dependencies, nuget OpaDotNet.Compilation.Interop package is ~15MB.
| Version | OPA SDK Version | Platforms |
|---|---|---|
| v1.0.X | v0.67.0 | linux-x64 win-x64 |
using OpaDotNet.Compilation.Interop;
var compiler = new RegoInteropCompiler();
var bundleStream = await compiler.CompileFileAsync("example.rego", new() { Entrypoints = new HashSet<string>(["example/hello"]) });
// Use compiled policy bundle.
...
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.1.0 | 1,144 | 12/15/2025 |
| 2.0.0 | 3,665 | 3/11/2025 |
| 2.0.0-preview-0010 | 308 | 3/5/2025 |
| 2.0.0-preview-0008 | 203 | 2/26/2025 |
| 2.0.0-preview-0002 | 179 | 11/10/2024 |
| 2.0.0-preview-0000 | 191 | 10/25/2024 |
| 1.8.0-preview0005 | 204 | 7/12/2024 |
| 1.7.4 | 1,535 | 8/6/2024 |
| 1.7.3 | 252 | 6/14/2024 |
| 1.7.2 | 282 | 6/13/2024 |
| 1.7.1 | 235 | 6/12/2024 |
| 1.7.0 | 526 | 5/15/2024 |
| 1.6.1 | 377 | 2/9/2024 |
| 1.6.0 | 379 | 1/10/2024 |
| 1.5.0 | 357 | 11/21/2023 |
| 1.5.0-preview0001 | 231 | 11/21/2023 |
| 1.4.1 | 315 | 10/10/2023 |
| 1.4.0 | 318 | 10/9/2023 |
| 1.3.1 | 395 | 9/27/2023 |