Skip to main content

Crate shoka

Crate shoka 

Source
Expand description

shoka — your repository bookshelf.

Modules§

cache
Volatile per-repo cache.
cli
commands
config
Configuration schema + layered loader.
gh
GitHub integration: token resolution + per-repo snapshot.
git_status
In-process git status capture via gix.
paths
OS-aware path resolution for shoka.
remote
Remote URL parsing — shared by shoka import (reads URLs from existing .git/config) and shoka clone (turns user input into a URL we can hand to gix).
state
Portable shelf ledger.
updater
Self-update support via the kaishin crate — same engine yukimemi/rvpm and yukimemi/renri use, so the UX (download glyph, version-skip prompt, --check rehearsal mode) is consistent across the yukimemi/* CLI fleet.
vcs
Git / Jujutsu (jj) abstraction.

Functions§

install_default_crypto_provider
Install the aws_lc_rs rustls CryptoProvider as the process default. Both reqwest and octocrab pull rustls 0.23 into the build with conflicting CryptoProvider features enabled, so rustls refuses to auto-pick one and panics the first time any HTTPS handshake runs unless this is called first. Call it as early as possible in main() — before any code path that touches HTTPS (shoka cache refresh, gh snapshot, self-update, clone).