Installation
Step-by-step guide to install the Rust language module and set up the necessary environment to start using it.
The Rust Language Module can be installed in two ways: manually downloading the release or using the Plugify package manager. This guide explains both methods and provides step-by-step instructions.
Method 1: Manual Installation
Download the Release
- Go to the Rust Language Module repository.
- Navigate to the Releases section.
- Download the latest release package (e.g.,
plugify-module-rust.zip).
Extract the Package
- Extract the downloaded package to a temporary directory.
Place the Module in the Modules Folder
- Locate the
extensionsfolder in your Plugify installation directory. - Copy the extracted module files into the
extensionsfolder.
Verify Installation
- Start Plugify.
- The Rust Language Module should now be available for use.
Method 2: Installation via Package Manager
Configure Mamba
Before proceeding, make sure you have the Mamba package manager installed and understand the basics of creating and managing environments. If you are new to Mamba, please read the Quickstart Guide in the official documentation.
Install the Module
- Run the following command in your terminal (replace
your_env_namewith the name of your environment):
Verify Installation
- Start Plugify.
- The Rust Language Module should now be installed and ready for use.
Folder Structure
After installation, the Rust Language Module should have the following folder structure:
- res/extensions/
- plugify-module-rust/
- bin/
- plugify-module-rust.dll
- libpluggify-module-rust.so
- plugify-module-rust.pmodule
Explanation
res/extensions/plugify-module-rust: The root folder for the Rust Language Module.bin: Contains the compiled module binaries (.dllfor Windows,.sofor Linux, etc.).plugify-module-rust.pmodule: The module manifest file that describes the module and its language.
Prerequisites
Before using the Rust Language Module, ensure you have the following installed:
Rust Toolchain
The Rust Language Module requires the Rust compiler and Cargo (Rust's package manager).
Install Rust
- Visit https://rustup.rs/
- Follow the instructions to install
rustup, the Rust toolchain installer - Verify installation:
Install Required Targets (Optional)
For cross-platform development, you may need to install additional targets:
Troubleshooting
Module Not Found
- Ensure the repository URL is correct and accessible.
- Verify that the module files are placed in the correct
extensionsfolder.
Installation Fails
- Check your internet connection.
- Ensure you have the latest version of Plugify installed.
Rust Toolchain Not Found
- Make sure Rust is properly installed and available in your system PATH.
- Try restarting your terminal or IDE after installing Rust.