OpaDotNet.Compilation.Interop 1.7.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package OpaDotNet.Compilation.Interop --version 1.7.1                
NuGet\Install-Package OpaDotNet.Compilation.Interop -Version 1.7.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OpaDotNet.Compilation.Interop" Version="1.7.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OpaDotNet.Compilation.Interop --version 1.7.1                
#r "nuget: OpaDotNet.Compilation.Interop, 1.7.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install OpaDotNet.Compilation.Interop as a Cake Addin
#addin nuget:?package=OpaDotNet.Compilation.Interop&version=1.7.1

// Install OpaDotNet.Compilation.Interop as a Cake Tool
#tool nuget:?package=OpaDotNet.Compilation.Interop&version=1.7.1                

About

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.

Versions

Version OPA SDK Version Platforms
v1.0.X v0.55.0 linux-x64 win-x64

Example

using OpaDotNet.Compilation.Interop;

var compiler = new RegoInteropCompiler();
var bundleStream = await compiler.CompileFile("example.rego", new[] { "example/hello" });

// Use compiled policy bundle.
...
Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0-preview-0002 69 11/10/2024
2.0.0-preview-0000 88 10/25/2024
1.8.0-preview0005 102 7/12/2024
1.7.4 152 8/6/2024
1.7.3 119 6/14/2024
1.7.2 126 6/13/2024
1.7.1 100 6/12/2024
1.7.0 384 5/15/2024
1.6.1 212 2/9/2024
1.6.0 227 1/10/2024
1.5.0 262 11/21/2023
1.5.0-preview0001 139 11/21/2023
1.4.1 232 10/10/2023
1.4.0 226 10/9/2023
1.3.1 289 9/27/2023
1.2.2 216 9/18/2023
1.2.1 173 9/18/2023
1.2.0 215 8/23/2023
1.1.3 197 8/18/2023
1.1.1 210 8/17/2023
1.1.0 186 8/17/2023
1.0.0 211 8/16/2023