cargo-venv-0.0.6
توضیحات
Cargo Virtual Environment
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cargo-venv-0.0.6 |
| نام | cargo-venv |
| نسخه کتابخانه | 0.0.6 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Dragos Dumitrache |
| ایمیل نویسنده | dragos@afterburner.dev |
| آدرس صفحه اصلی | https://github.com/dragosdumitrache/cargo-venv |
| آدرس اینترنتی | https://pypi.org/project/cargo-venv/ |
| مجوز | - |
# Cargo Virtual Environment
A virtual environment tool similar to Python's virtual environments.
## Table of Contents
* [Installation](#installation)
* [Usage](#usage)
* [Custom toolchain](#custom-toolchain)
* [IDE Support](#ide-support)
* [IntelliJ Idea](#intellij-idea)
## Installation
```
pip install cargo-venv
```
## Usage
Leveraging `Cargo`'s built-in command mechanism, you can simply call the following command to get a virtual environment called
`venv`.
```
cargo venv
```
However, since this is a Python script, you can specify a different name by calling:
```
cargo-venv custom-name
```
### Custom toolchain
You can also specify a custom toolchain rather than always depend on the latest. If a `rust-toolchain` file is discovered
in your project, that version will be used to install the toolchain inside your virtual environment.
### IDE Support
#### IntelliJ Idea
Under `Settings > Languages and Frameworks > Rust` set the following fields to these values:
#### Toolchain Location
```
<venv-path>/.rustup/toolchains/<toolchain-version>/bin
```
#### Standard library
```
<venv-path>/.rustup/toolchains/<toolchain-version>/lib/rustlib/src/rust
```
نیازمندی
| مقدار | نام |
|---|---|
| - | Click |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl cargo-venv-0.0.6:
pip install cargo-venv-0.0.6.whl
نصب پکیج tar.gz cargo-venv-0.0.6:
pip install cargo-venv-0.0.6.tar.gz