<Project Sdk="Microsoft.NET.Sdk.Worker">

  <PropertyGroup>
    <TargetFramework>net8.0</TargetFramework>
    <Nullable>enable</Nullable>
    <ImplicitUsings>enable</ImplicitUsings>
    <RootNamespace>SaasMediaWorker</RootNamespace>
    <AssemblyName>SaasMediaWorker</AssemblyName>
    <!-- ARM64 Raspberry Pi için Native AOT desteği -->
    <RuntimeIdentifiers>linux-arm64;linux-x64;osx-arm64;osx-x64</RuntimeIdentifiers>
    <InvariantGlobalization>false</InvariantGlobalization>
  </PropertyGroup>

  <ItemGroup>
    <!-- Redis (BullMQ Interop via Redis List) -->
    <PackageReference Include="StackExchange.Redis" Version="2.8.16" />
    
    <!-- AWS S3 / Cloudflare R2 -->
    <PackageReference Include="AWSSDK.S3" Version="3.7.405.5" />
    
    <!-- Polly Retry / Circuit Breaker -->
    <PackageReference Include="Polly" Version="8.5.2" />
    <PackageReference Include="Microsoft.Extensions.Http.Polly" Version="8.0.12" />
    
    <!-- PostgreSQL (Direct DB updates) -->
    <PackageReference Include="Npgsql" Version="8.0.6" />
    
    <!-- JSON -->
    <PackageReference Include="System.Text.Json" Version="8.0.5" />
    
    <!-- Hosting -->
    <PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.1" />
    <PackageReference Include="Microsoft.Extensions.Http" Version="8.0.1" />
    
    <!-- Logging -->
    <PackageReference Include="Serilog.Extensions.Hosting" Version="8.0.0" />
    <PackageReference Include="Serilog.Sinks.Console" Version="6.0.0" />
  </ItemGroup>

</Project>
