Skip to main content

Crate gpl_license_guard

Crate gpl_license_guard 

Source
Expand description

§gpl-license-guard

An independent, general-purpose license-boundary inspection gate that emits a receipt, not a legal opinion. It scans a repo (and, later, a distribution artifact) for the practical GPL/LGPL boundary surfaces and classifies them with typed verdicts, so any project – a commercial release, an open copyleft derivative, anything – can prove its license posture continuously instead of arguing it by hand.

The claim is deliberately narrow: “at this commit, under this policy, no detected GPL/LGPL boundary violation according to declared machine-checkable rules” – never “legally safe forever”. The receipt carries an explicit non-claims list.

Independence is the point: this tool depends on nothing GNU and nothing from the projects it audits – it inspects from the outside, so the auditor is not part of the audited. Apache-2.0.

Structs§

Finding
One observed surface.
Policy
The machine-checkable policy.
ScanReport
The scan report (serializes into the receipt).

Enums§

GateVerdict
Overall gate verdict (typed, not a boolean).
GnuBoundary
How this package relates to GnuCOBOL material (the bucket that must NOT collapse).

Functions§

scan
Scan a repo root against a policy and produce a report.