diff options
author | CoprDistGit <infra@openeuler.org> | 2023-07-06 01:44:25 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-07-06 01:44:25 +0000 |
commit | 6b41f4b6c01e0822d60a2985abb87c2f890e3f67 (patch) | |
tree | 8b83a2d83f226603c82f2d912137acad178227a8 | |
parent | 7c690297d572ea09823b5db763aa7a6827c9f831 (diff) |
automatic import of bat
-rw-r--r-- | bat.spec | 4 | ||||
-rw-r--r-- | config | 21 |
2 files changed, 5 insertions, 20 deletions
@@ -19,9 +19,9 @@ A cat(1) clone with syntax highlighting and Git integration. mkdir -p ~/.cargo/ cp %{SOURCE1} ~/.cargo/ +cat ~/.cargo/config -ls -al -ls ~/.cargo/ -al +cargo check %install cargo install --locked bat @@ -1,28 +1,13 @@ [source.crates-io] replace-with = 'rsproxy' -registry = "https://github.com/rust-lang/crates.io-index" [source.rsproxy] registry = "https://rsproxy.cn/crates.io-index" +[source.rsproxy-sparse] +registry = "sparse+https://rsproxy.cn/index/" [registries.rsproxy] index = "https://rsproxy.cn/crates.io-index" -# 中国科学技术大学 -[source.ustc] -registry = "git://mirrors.ustc.edu.cn/crates.io-index" - -# 上海交通大学 -[source.sjtu] -registry = "https://mirrors.sjtug.sjtu.edu.cn/git/crates.io-index" - -# 清华大学 -[source.tuna] -registry = "https://mirrors.tuna.tsinghua.edu.cn/git/crates.io-index.git" - -# rustcc社区 -[source.rustcc] -registry = "https://code.aliyun.com/rustcc/crates.io-index.git" - [net] -git-fetch-with-cli = true +git-fetch-with-cli = true
\ No newline at end of file |