Expand description
rpi install — install a Rust cdylib extension from crates.io.
Cargo’s cargo install command is intended for binaries and does not copy
dynamic-library targets. rpi extensions are cdylibs loaded by
rpi-extensions, so this command creates a tiny temporary Cargo workspace,
resolves the requested crate through Cargo, builds the dependency in
release mode, and copies its cdylib into the same global directory scanned
during normal startup.
Structs§
- Installed
Native Package - A Rust-native extension installed through
rpi install.
Enums§
- Native
Package Registry - The on-disk state of the Rust-native extension registry.
Functions§
- installed_
native_ packages - Read the registry for best-effort discovery and startup update notices.
- print_
help - read_
native_ package_ registry - Read and validate the Rust-native extension registry without hiding errors.
- run
- Run
rpi install .... This is intentionally synchronous: it is a short lived package operation and keeping Cargo’s build output attached to the user’s terminal makes failures actionable. - uninstall
- Remove a Rust-native extension installed by
rpi install.