removed protobuf

This commit is contained in:
2026-09-23 16:29:25 +02:00
parent b419fe7679
commit cf337483d7
4 changed files with 6 additions and 33 deletions
@@ -14,15 +14,6 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="DTLib.Web" Version="1.4.0" /> <PackageReference Include="DTLib.Web" Version="1.4.0" />
<!-- <PackageReference Include="Google.Protobuf" Version="3.31.0" />--> <PackageReference Include="sqlite-net-pcl" Version="1.9.172" />
<PackageReference Include="sqlite-net-pcl" Version="1.11.285" />
</ItemGroup> </ItemGroup>
<!-- <ItemGroup>-->
<!-- <Compile Include="obj\Protobuf\*.g.cs" />-->
<!-- </ItemGroup>-->
<!-- <Target Name="PreBuild" BeforeTargets="PreBuildEvent">-->
<!-- <Exec Command="sh -c &quot;mkdir -p obj/Protobuf &amp;&amp; protoc Protobuf/*.proto &#45;&#45;csharp_out=obj/Protobuf &#45;&#45;csharp_opt=file_extension=.g.cs&quot;" />-->
<!-- </Target>-->
</Project> </Project>
@@ -1,21 +0,0 @@
syntax = "proto3";
option csharp_namespace = "ParadoxSaveParser.WebAPI.MyProtobuf";
message Item {
oneof value {
bool b = 1;
int64 i64 = 2;
double f64 = 3;
string str = 4;
ItemList list = 5;
ItemListMap map = 6;
}
}
message ItemList {
repeated Item items = 1;
}
message ItemListMap {
map<string, ItemList> items_map = 1;
}
+4 -1
View File
@@ -17,4 +17,7 @@ Yet another save files parser.
Performance comparison of the search expression engine against regex engines and jq Performance comparison of the search expression engine against regex engines and jq
## Building ## Building
1. Install protobuf compiler https://protobuf.dev/installation/ ```sh
cd ParadoxSaveParser.WebAPI
dotnet build
```
+1 -1
View File
@@ -1,4 +1,4 @@
## WebAPI.SaveParsingOperation: ## WebAPI.SaveParsingOperation:
Save parsed data in protobuf Save parsed data in zstd archive
Re-parse if saved data was parsed with another query Re-parse if saved data was parsed with another query
Implement automatic database cleanup Implement automatic database cleanup