[CSHARP-4531] Investigate recent increase of the package size Created: 16/Feb/23  Updated: 24/Mar/23

Status: Backlog
Project: C# Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Unknown
Reporter: Boris Dogadov Assignee: Boris Dogadov
Resolution: Unresolved Votes: 3
Labels: green-build-friday, tech-debt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Comments   
Comment by Boris Dogadov [ 17/Feb/23 ]

Main root cause is that MongoDB.Libmongocrypt 1.7.0 increased it's from 5.8MB to 70MB, due to new usage of IntelDFP lib (for rangePreview algorithm).  Which results in increasing runtimes folder from 3M to 25M.
New AWS SDK package is almost 2MB.
Driver package size is 2.5MB.

A potential workaround for users would be excluding those dependencies manually:
<PackageReference Include="MongoDB.Libmongocrypt" version="1.7.0" ExcludeAssets="All" />
<PackageReference Include="AWSSDK.SecurityToken" Version="3.7.100.14" ExcludeAssets="All" />
<PackageReference Include="AWSSDK.Core" Version="3.7.100.14" ExcludeAssets="All" />

Generated at Wed Feb 07 21:48:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.