You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A lot of System.* depdendencies used by Realm are for legacy .NET Standard 1.x and .NET Core 1.x world. They do nothing for current platforms and will regress build performance because of building large NuGet graph. Occasionally, they produces security alerts that gets warned by toolchains. Although they are not meaningful for current platforms, it takes additional effort to mitigate the warnings. For example, System.Net.WebSockets.Client 4.3.2 brought System.Net.Security 4.3.0 which has warnings, causing Realm adding a direct dependency to System.Net.Security 4.3.2, both of which are unnecessary.
Solution
Remove these dependencies from all target frameworks (netstandard2.0, net6.0 and net 8.0):
System.Dynamic.Runtime
System.Net.Security
System.Net.WebSockets.Client
Remove these dependencies from .NET Core (net6.0 and net8.0), via conditional dependency in project file:
System.Buffers
System.Memory
System.Runtime.CompilerServices.Unsafe
Alternatives
No response
How important is this improvement for you?
Fairly niche but nice to have anyway
Feature would mainly be used with
-- select --
The text was updated successfully, but these errors were encountered:
Problem
A lot of System.* depdendencies used by Realm are for legacy .NET Standard 1.x and .NET Core 1.x world. They do nothing for current platforms and will regress build performance because of building large NuGet graph. Occasionally, they produces security alerts that gets warned by toolchains. Although they are not meaningful for current platforms, it takes additional effort to mitigate the warnings. For example, System.Net.WebSockets.Client 4.3.2 brought System.Net.Security 4.3.0 which has warnings, causing Realm adding a direct dependency to System.Net.Security 4.3.2, both of which are unnecessary.
Solution
Remove these dependencies from all target frameworks (netstandard2.0, net6.0 and net 8.0):
Remove these dependencies from .NET Core (net6.0 and net8.0), via conditional dependency in project file:
Alternatives
No response
How important is this improvement for you?
Fairly niche but nice to have anyway
Feature would mainly be used with
-- select --
The text was updated successfully, but these errors were encountered: