From 2a03d6375707d5184ebacb3b17e08395bb88dd61 Mon Sep 17 00:00:00 2001
From: desert-sailor <dxwangk@isoftstone.com>
Date: Sun, 2 Jul 2023 08:56:49 +0800
Subject: [PATCH] set cargo vendor cache for local build

---
 .cargo/config.toml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.cargo/config.toml b/.cargo/config.toml
index bff29e6..a4b6e34 100644
--- a/.cargo/config.toml
+++ b/.cargo/config.toml
@@ -1,2 +1,8 @@
 [build]
 rustflags = ["--cfg", "tokio_unstable"]
+
+[source.crates-io]
+replace-with = "vendored-sources"
+
+[source.vendored-sources]
+directory = "vendor"
-- 
2.33.0

