当前位置: 首页 > news >正文

宠物网站模板网络宣传策划方案

宠物网站模板,网络宣传策划方案,网站商城建设要多少钱,工具大全Rust语言在国内逐步开始流行,但开发环境的不成熟依然困扰不少小伙伴。 结合我个人的使用体验,推荐一种超轻量级的开发环境:Rust Helix Editor。运行环境需求很低,可以直接在Linux终端里进行代码开发。对于工程不是太过庞大的Rus…

Rust语言在国内逐步开始流行,但开发环境的不成熟依然困扰不少小伙伴。

结合我个人的使用体验,推荐一种超轻量级的开发环境:Rust + Helix Editor。运行环境需求很低,可以直接在Linux终端里进行代码开发。对于工程不是太过庞大的Rust项目,是一种不错的选择。

Linux环境下,先从Rust安装开始,流水帐。

我们选择从中国科学技术大学的镜像网站下载环境:

$> export RUSTUP_DIST_SERVER=https://mirrors.ustc.edu.cn/rust-static$> export RUSTUP_UPDATE_ROOT=https://mirrors.ustc.edu.cn/rust-static/rustup

创建上面两个环境变量,让rustup的安装脚本从镜像站点下载开发环境:

$> curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

如果需要代理才能访问互联网,可以这样:

$> curl --proxy "socks5://ip:port" --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

ip是代理服务器的IP地址,port是代理服务器的端口。这里用的是的socks5的代理服务器。

info: downloading installer
Warning: Not enforcing strong cipher suites for TLS, this is potentially less secureWelcome to Rust!This will download and install the official compiler for the Rust
programming language, and its package manager, Cargo.Rustup metadata and toolchains will be installed into the Rustup
home directory, located at:/home/rust/.rustupThis can be modified with the RUSTUP_HOME environment variable.The Cargo home directory is located at:/home/rust/.cargoThis can be modified with the CARGO_HOME environment variable.The cargo, rustc, rustup and other commands will be added to
Cargo's bin directory, located at:/home/rust/.cargo/binThis path will then be added to your PATH environment variable by
modifying the profile files located at:/home/rust/.profile/home/rust/.bash_profile/home/rust/.bashrcYou can uninstall at any time with rustup self uninstall and
these changes will be reverted.Current installation options:default host triple: x86_64-unknown-linux-gnudefault toolchain: stable (default)profile: defaultmodify PATH variable: yes1) Proceed with installation (default)
2) Customize installation
3) Cancel installation
>

这里输入键盘回车即可。

我这里用的rust用户,所以目录都是/home/rust。

info: profile set to 'default'
info: default host triple is x86_64-unknown-linux-gnu
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: latest update on 2023-11-16, rust version 1.74.0 (79e9716c9 2023-11-13)
info: downloading component 'cargo'8.2 MiB /   8.2 MiB (100 %)   1.1 MiB/s in  7s ETA:  0s
info: downloading component 'clippy'2.4 MiB /   2.4 MiB (100 %)   1.1 MiB/s in  2s ETA:  0s
info: downloading component 'rust-docs'14.4 MiB /  14.4 MiB (100 %)   1.1 MiB/s in 13s ETA:  0s
info: downloading component 'rust-std'26.3 MiB /  26.3 MiB (100 %)   1.1 MiB/s in 24s ETA:  0s
info: downloading component 'rustc'58.7 MiB /  58.7 MiB (100 %)   1.1 MiB/s in 52s ETA:  0s
info: downloading component 'rustfmt'2.4 MiB /   2.4 MiB (100 %)   1.2 MiB/s in  2s ETA:  0s
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'rust-docs'14.4 MiB /  14.4 MiB (100 %)   6.2 MiB/s in  2s ETA:  0s
info: installing component 'rust-std'26.3 MiB /  26.3 MiB (100 %)  10.0 MiB/s in  2s ETA:  0s
info: installing component 'rustc'58.7 MiB /  58.7 MiB (100 %)  11.1 MiB/s in  5s ETA:  0s
info: installing component 'rustfmt'
info: default toolchain set to 'stable-x86_64-unknown-linux-gnu'stable-x86_64-unknown-linux-gnu installed - rustc 1.74.0 (79e9716c9 2023-11-13)Rust is installed now. Great!To get started you may need to restart your current shell.
This would reload your PATH environment variable to include
Cargo's bin directory ($HOME/.cargo/bin).To configure your current shell, run:
source "$HOME/.cargo/env"
[rust@selfservice ~]$ 

按提示,运行一下:source "$HOME/.cargo/env"。

使用rustup命令再安装两个组件:

$> rustup component add rust-src
$> rustup component add rust-analyzer

这个Rust开发环境就安装成功了。

下一步:

Linux下超轻量级Rust开发环境搭建:二、安装Helix Editor

http://www.jinmujx.cn/news/110970.html

相关文章:

  • 烟台做网站工资河北seo人员
  • 企业网站免费泰州百度公司代理商
  • 电子商务网站设计与规划推广游戏赚钱的平台有哪些
  • 深圳做网站(信科网络)天津seo优化
  • 林州网站建设服务关键词搜索量怎么查
  • 做测算的网站公司推广方法有哪些
  • 西安网站建设seo爱站网关键词工具
  • 开发工具是什么简述优化搜索引擎的方法
  • 网站设计入门营销网站推荐
  • 网站设计中搜索界面怎么做百度查找相似图片
  • 网站开发需要什么配置的电脑百度站内搜索提升关键词排名
  • 网站如何做原创文章谷歌怎么投放广告
  • 平台经济google 优化推广
  • 杭州网站建设公司官网深圳网站制作
  • 聊城手机网站制作sem和seo是什么职业
  • 网站建设分几种类型阿里巴巴关键词排名优化
  • 浙江省住房建设厅网站北京搜索引擎优化主管
  • 淄博网站制作开发优化阿拉营销网站
  • 网站建设预算策划网络设计
  • 皇岗网站建设交换友情链接的渠道
  • 药品行业做网站不能搜的超级恶心的关键词
  • 网页数据可视化设计案例网站seo视频
  • html静态网站开发实验seo优化的搜索排名影响因素主要有
  • 石家庄新钥匙建站网站建设纯免费官网
  • 网站那种推广链接怎么做网络营销策划名词解释
  • 如何防止网站被劫持个人免费网站建设
  • 英文官网建设seo免费优化公司推荐
  • 容桂网站制作公司怎么联系百度客服人工服务
  • 如何做房地产网站宿迁网站建设制作
  • 域名申请的理由和用途站内关键词排名优化软件