CRAForge Knowledge Base · Ecosystems
EU CRA Compliance for Rust & Embedded Firmware (Cargo.lock)
Rust powers modern European IoT gateways, inverters, and security appliances. Turn Cargo.lock into an auditable CRA SBOM with full transitive crate graphs.
Actionable Engineering Checklist
- Capture every [[package]] entry including multiple simultaneous crate versions in the dependency graph.
- Distinguish registry crates, git dependencies, and local workspace members cleanly.
- Emit canonical pkg:cargo/<crate>@<version> PURLs and correlate with OSV crates.io / RUSTSEC advisories.
- Enrich deployable binary artifacts with SHA-512 hashes before BSI TR-03183-2 submission.
Regulatory & Technical Specification Matrix
| Compliance Dimension | Statutory Specification & CRAForge Implementation |
|---|---|
| Legal & Standard Basis | Package URL (pkg:cargo) · CRA Annex I Part II · BSI TR-03183-2 |
| Accepted Formats | CycloneDX 1.5 / 1.6 (JSON, XML) · SPDX 2.3 / 3.0.1 (JSON-LD) · package-lock.json · Cargo.lock · requirements.txt · poetry.lock · go.sum |
| Vulnerability Feeds | OSV.dev + ENISA EUVD (exploited) + CISA KEV — Article 14 24h watchdog triggers regardless of CVSS score |
| Key CRA Deadlines | Article 14 reporting in force since 2026-09-11 · Full CE / Annex VII compliance mandatory 2027-12-11 |
| CI/CD Gate Command | npx craforge scan ./Cargo.lock --fail-on-kev |
Automation & CLI Command
$ npx craforge scan ./Cargo.lock --fail-on-kev
CRAForge parses Cargo.lock natively without spawning cargo-metadata, running safely inside Cloudflare Workers or minimal CI runners.
Frequently Asked Questions
Does CRAForge handle multiple versions of the same crate?
Yes. Each name@version node receives a distinct bom-ref and dependency edge.
How are local workspace crates treated?
Local workspace crates without a registry checksum are flagged as first-party components rather than broken external packages.
Related EU CRA Engineering Guides
BSI Standard
SBOM Conversion
Validate your SBOM against BSI TR-03183-2 & ENISA EUVD now
Zero signup · Zero server retention in EU memory · Instant clause-by-clause diff.
Open Free Validator
Zero signup · Zero server retention in EU memory · Instant clause-by-clause diff.