Skip to content

fix(0.35.1): root facade feature passthroughs (cargo install aprender --features cuda)#1895

Merged
noahgift merged 1 commit into
mainfrom
fix/root-facade-feature-passthroughs
May 22, 2026
Merged

fix(0.35.1): root facade feature passthroughs (cargo install aprender --features cuda)#1895
noahgift merged 1 commit into
mainfrom
fix/root-facade-feature-passthroughs

Conversation

@noahgift

Copy link
Copy Markdown
Contributor

Summary

Post-publish dogfood of v0.35.0 surfaced a packaging gap: cargo install aprender --features cuda fails because the root facade only exposes cli + default. Per memory/feedback_cuda_feature_footgun, --features cuda is the documented install command for GPU users (20 vs 400 tok/s on RTX 4090).

Fix

Add 11 passthrough features to root Cargo.toml that forward to apr-cli/*:

cuda = ["cli", "apr-cli/cuda"]
cuda-batch = ["cli", "apr-cli/cuda-batch"]
wgpu = ["cli", "apr-cli/wgpu"]
inference = ["cli", "apr-cli/inference"]
training = ["cli", "apr-cli/training"]
training-gpu = ["cli", "apr-cli/training-gpu"]
visualization = ["cli", "apr-cli/visualization"]
zram = ["cli", "apr-cli/zram"]
xet = ["cli", "apr-cli/xet"]
whisper = ["cli", "apr-cli/whisper"]
full = ["cli", "apr-cli/full"]

Versioning

  • Root facade: 0.35.0 → 0.35.1
  • Sub-crates: stay at 0.35.0
  • aprender@0.35.1 depends on apr-cli@0.35.0 (no transitive churn)
  • Only aprender needs republishing to crates.io

End-user impact

After v0.35.1 lands on crates.io, both of these will work:

cargo install aprender                    # CPU only (already worked)
cargo install aprender --features cuda    # GPU (newly enabled)
cargo install aprender --features full    # everything

Verification

  • cargo metadata registers all 11 new features ✓
  • cargo check parses correctly ✓
  • Dogfood post-publish will rerun on v0.35.1

🤖 Generated with Claude Code

@noahgift noahgift enabled auto-merge (squash) May 22, 2026 20:57
…pdates

Closes a packaging gap surfaced by post-publish dogfood: `cargo install
aprender --features cuda` failed because root facade exposed only `cli` +
`default`. Per memory/feedback_cuda_feature_footgun, --features cuda is the
documented install for GPU users (20 vs 400 tok/s).

This patch adds passthroughs that forward to apr-cli:
  cuda, cuda-batch, wgpu, inference, training, training-gpu,
  visualization, zram, xet, whisper, full

Also bundles README housekeeping for the v0.35.x release pair:
  - Hiatus banner (3-month freeze through 2026-08-22)
  - v0.35.0 + v0.35.1 release callouts
  - Contract count drift fix (1151 → 1153, missed by #1894)
  - Updated Quick Start with --features cuda/full examples

Only root facade bumps (0.35.0 → 0.35.1). Sub-crates stay at 0.35.0;
aprender@0.35.1 depends on apr-cli@0.35.0 (no transitive churn).

End-user impact: `cargo install aprender --features cuda` now works.
@noahgift noahgift force-pushed the fix/root-facade-feature-passthroughs branch from 3110f10 to 7685e8a Compare May 22, 2026 20:59
@noahgift noahgift merged commit 25e8f85 into main May 22, 2026
17 of 20 checks passed
@noahgift noahgift deleted the fix/root-facade-feature-passthroughs branch May 22, 2026 21:24
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