feat(install): Rust toolchain via rustup, cargo env sourced by the rc files

install_rust(): official rustup script as the user (stable, default profile,
--no-modify-path), rustup update on a re-run, rust-analyzer + rust-src added.
libssl-dev (apt) / openssl@3 (brew) for openssl-sys crates. bashrc-linux,
bashrc-osx and zshrc-osx source ~/.cargo/env when present. README, CHANGELOG,
CLAUDE.md, TODO plan.
This commit is contained in:
bchanot committed 2026-10-12 23:35:39 +02:00
1 parent f825caf094
commit 7d62da44b0
8 files changed
+59 -6

No files matched your search

+3
View File
@@ -51,6 +51,9 @@ code-server/mariadb, `~/.bash_profile` → `~/.bashrc`), asks zsh or bash (zsh b
items it skipped. Keep `bashrc-osx` = `bashrc-linux` + macOS deltas only, and the zsh
files in step with them (same env, aliases, prompt).
Rust comes from the official rustup script (`install_rust`, user-level, `--no-modify-path`); the
rc files source `~/.cargo/env`. Never add `rustc`/`cargo` to the apt or brew lists.
`pymupdf`/`markdown_py` are NOT tracked — they are pipx entry-point shims,
recreated by `pipx install PyMuPDF Markdown` in install.sh.
`claude-provider` reads `$OPENROUTER_API_KEY` from the env — never hardcode it (the