Dependencies

All package versions live in Directory.Packages.props (central package management); project files carry no versions. Build settings shared by every project live in Directory.Build.props; the SDK is pinned in global.json (10.0.100, rollForward: latestFeature, no prereleases).

Runtime packages (library)

None. The library and the command line tool depend on the .NET base class library only (System.IO.Compression, System.Xml, System.Text.Json) and reference no native code. A test checks that neither project file references a package.

Decisions

  • No dependencies on other packages. The Zstandard decoder for the point blocks of Leica containers and the Snappy decoder for the channels of PinPoint data files are part of the library, written from the public format specifications.
  • Decompression bound. The Zstandard decoder takes an explicit maximum size, so a frame that declares more than the limit is rejected before memory is allocated. The Snappy decoder is streaming; memory use does not depend on the size of the data.

Build-time packages

Microsoft.SourceLink.GitHub 10.0.403 is referenced by every project with PrivateAssets all; it is not a dependency of the published packages. The 11.x line is not used because it pulls System.IO.Hashing 11, which does not support net8.0 and produces a build warning.

Test packages

Pinned to exact versions: Microsoft.NET.Test.Sdk 18.12.0, xunit 2.9.3 and xunit.runner.visualstudio 4.0.1. The test project references the library and the CLI project.

Auditing

NuGetAudit is on with NuGetAuditMode=all (direct and transitive) and NuGetAuditLevel=low, so every known advisory is reported as an NU1901-NU1904 warning at restore. Check manually:

dotnet list package --vulnerable --include-transitive
dotnet list package --outdated

Re-run the audit when changing dependencies.

Build settings

Directory.Build.props sets LangVersion 14.0, Nullable enable, ImplicitUsings enable, Deterministic true, EmbedUntrackedSources true, PublishRepositoryUrl true, VersionPrefix 0.1.0, the package icon (icon.png in each packable project folder), symbol packages (snupkg), DeterministicSourcePaths true and a PathMap that maps the repository folder to /_/ (so a local pack contains no local absolute path), and ContinuousIntegrationBuild true when CI, GITHUB_ACTIONS or TF_BUILD is set. src/Directory.Build.props turns warnings into errors for the library and the CLI. The library, the CLI and the tests target net8.0 and net10.0.