Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

queil/opa-native

Repository files navigation

opa-native

OPA server native binaries packaged as NuGet.

Why?

So it can be easily used in integration tests.

Usage

Reference in a proj file like:

  <ItemGroup>
    <PackageReference Include="Opa.Native" Version="0.*" PrivateAssets="Compile" IncludeAssets="Compile;Runtime;Native" />
  </ItemGroup>

Then in code :

await using OpaHandle h = await OpaProcess.StartServerAsync();