Skip to content

docs: scope the zero-dependency claim to the default build (formats policy)#35

Merged
swperb merged 1 commit into
mainfrom
docs/dependency-policy
Jun 15, 2026
Merged

docs: scope the zero-dependency claim to the default build (formats policy)#35
swperb merged 1 commit into
mainfrom
docs/dependency-policy

Conversation

@swperb

@swperb swperb commented Jun 15, 2026

Copy link
Copy Markdown
Owner

Makes the "zero dependencies" claim airtight ahead of the opt-in format work. Default build stays dependency-free (libc only); WebP/AVIF/HEIC, if added, are opt-in build flags that link external libs and are never in the default binary. README gets a Dependencies & formats section; SECURITY.md gets the matching clause. No code change.

🤖 Generated with Claude Code

… build)

The default build is genuinely dependency-free today, but the roadmap adds
opt-in formats (WebP/AVIF/HEIC) that require external libs. Document the contract
unambiguously so the claim never becomes false advertising:

- README: new "Dependencies & formats" section — default build = zero deps
  (libc only); built-in formats need nothing; WebP/AVIF/HEIC are opt-in build
  flags that link external libs and are NEVER in the default binary.
- SECURITY.md: same clause in the dependency-policy section (opt-in libs add to
  the trust/attack surface; default guarantees unchanged).

No code change — current default binary still links only libSystem/libc.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@swperb swperb merged commit f7a6298 into main Jun 15, 2026
5 checks passed
@swperb swperb deleted the docs/dependency-policy branch June 15, 2026 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant