first-try/slowly-downloading #742
Replies: 29 comments 31 replies
-
想问一下,cargo安装目录下没有config.toml是正常的么? |
Beta Was this translation helpful? Give feedback.
-
可以采用字节的 Rust 镜像,速度很不错,https://rsproxy.cn/ |
Beta Was this translation helpful? Give feedback.
-
这里多写了个“因为它”吧。 |
Beta Was this translation helpful? Give feedback.
-
最后一行, "rust-analyer"是不是应该改成"rust-analyzer"? |
Beta Was this translation helpful? Give feedback.
-
这里要强推一个Rust命令行工具
安装只需一行: |
Beta Was this translation helpful? Give feedback.
-
"Blocking waiting for file lock on package cache" 的根本原因阐释好棒,一直有这个问题,也一直在用终止 rust-analyzer 进程的方式解决,但机理一直没动力搞清楚,我明白了,谢谢作者们. |
Beta Was this translation helpful? Give feedback.
-
给我看看你的300M大刀 |
Beta Was this translation helpful? Give feedback.
-
贴个抄来的 config 选择的镜像源喜欢哪个用哪个,没有注释掉的那个就是你选择的#replace-with = 'ustc' 源码地址[source.crates-io] 镜像地址清华大学[source.tuna] 中国科学技术大学[source.ustc] 上海交通大学[source.sjtu] rustcc社区[source.rustcc] 阿里云[source.aliyun] |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
使用 crm 一键管理。 |
Beta Was this translation helpful? Give feedback.
-
cargo install crm // 测试最快镜像 // 自动设置最快镜像 |
Beta Was this translation helpful? Give feedback.
-
这里推荐一种使用socks5代理cargo的方法,很简单: 假设你的socks5代理服务工作在127.0.0.1的1080端口, 如果代理服务是基于域名的,就把ip换成对应域名 |
Beta Was this translation helpful? Give feedback.
-
首先,感谢作者们的辛苦劳作! 问题:下载依赖库慢
科技文档并不是用来展示个人文采和性格的好场所,个人建议,如果有冒犯到作者的地方,实数无心 |
Beta Was this translation helpful? Give feedback.
-
我推荐一个工具进行源管理 https://github.com/wtklbm/crm |
Beta Was this translation helpful? Give feedback.
-
推荐用clashx 随便搜索了个文档如下。 |
Beta Was this translation helpful? Give feedback.
-
字节跳动新的 Rust 镜像源以及安装rust [source.crates-io] [source.rsproxy] [registries.rsproxy] [net] |
Beta Was this translation helpful? Give feedback.
-
有没有不用IDE的。 |
Beta Was this translation helpful? Give feedback.
-
发现个实用小技巧,如果rust-analyzer卡住的话,把鼠标放在状态栏的rust-analyzer上,就可以重启(Restart Server)或者停止(Stop Server) |
Beta Was this translation helpful? Give feedback.
-
想问一下,cargo的cache 目录能不能修改到其他地址,缓存太大了,哈哈哈,config.toml能修改吗? |
Beta Was this translation helpful? Give feedback.
-
费这个劲 为啥不买个梯子 |
Beta Was this translation helpful? Give feedback.
-
当依赖的库是 github 的一个仓库时,在国内也容易下载的很慢,这个大家都是怎么解决的呢?别的情况下,还可以替换为使用 ssh 访问来避免问题,但 cargo 似乎不认 ssh 格式的 github 仓库地址。 |
Beta Was this translation helpful? Give feedback.
-
家人们谁懂啊, 公司的破网限速1MB/s,更新个索引要半个小时,creates.io就更慢了 |
Beta Was this translation helpful? Give feedback.
-
cargo好像还会走git的代理🤨 Caused by: |
Beta Was this translation helpful? Give feedback.
-
整个机场就得了;总要出来学习找资料的;哎 该死的404 ; 祝愿伟大的方校长遗臭万年 |
Beta Was this translation helpful? Give feedback.
-
等我碰到下载问题再来看一遍 |
Beta Was this translation helpful? Give feedback.
-
强行停止正在构建的进程,例如杀掉 IDE 使用的 rust-analyzer 插件进程,然后删除 $HOME/.cargo/.package_cache 目录 |
Beta Was this translation helpful? Give feedback.
-
所以隔壁被墙的那个语言是啥啊( |
Beta Was this translation helpful? Give feedback.
-
都翻github了还不会翻墙? |
Beta Was this translation helpful? Give feedback.
-
作者辛苦了 |
Beta Was this translation helpful? Give feedback.
-
first-try/slowly-downloading
https://course.rs/first-try/slowly-downloading.html
Beta Was this translation helpful? Give feedback.
All reactions