Skip to content

Commit

Permalink
Added .NET codegen
Browse files Browse the repository at this point in the history
  • Loading branch information
Mercurial committed Jan 31, 2024
1 parent 3162b97 commit fa8fc2f
Show file tree
Hide file tree
Showing 7 changed files with 15,799 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
.DS_Store
dist-newstyle
dist-newstyle
# .NET build files
bin
obj
18 changes: 18 additions & 0 deletions UTxORPC.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Google.Protobuf" Version="3.25.1" />
<PackageReference Include="Grpc.Net.Client" Version="2.60.0" />
<PackageReference Include="Grpc.Tools" Version="2.60.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>

</Project>
8 changes: 8 additions & 0 deletions cardano/buf.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,11 @@ plugins:
- plugin: haskell-protolens
path: proto-lens-protoc
out: gen/haskell

# dotnet

- plugin: buf.build/grpc/csharp:v1.60.0
out: gen/dotnet

- plugin: buf.build/protocolbuffers/csharp
out: gen/dotnet
13,350 changes: 13,350 additions & 0 deletions cardano/gen/dotnet/Cardano.cs

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions sync/buf.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,11 @@ plugins:
- plugin: haskell-protolens
path: proto-lens-protoc
out: gen/haskell

# dotnet

- plugin: buf.build/grpc/csharp:v1.60.0
out: gen/dotnet

- plugin: buf.build/protocolbuffers/csharp
out: gen/dotnet
Loading

0 comments on commit fa8fc2f

Please sign in to comment.