From abd246f92e3116f2bbdb2442e11b6a5b12495598 Mon Sep 17 00:00:00 2001 From: fqwert Date: Fri, 15 Sep 2023 10:20:45 +0800 Subject: [PATCH] =?UTF-8?q?toml:=E6=95=B4=E7=90=86=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: fqwert --- Cargo.toml | 1 - ylong_http/Cargo.toml | 6 ++---- ylong_http_client/Cargo.toml | 6 ++---- 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 191768b..ac25ff0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,6 @@ [workspace] resolver = "2" members = [ - # web "ylong_http", "ylong_http_client", ] diff --git a/ylong_http/Cargo.toml b/ylong_http/Cargo.toml index 4b69f98..9a77072 100644 --- a/ylong_http/Cargo.toml +++ b/ylong_http/Cargo.toml @@ -4,11 +4,9 @@ version = "1.0.0" edition = "2021" description = "HTTP utility implementation" license = "Apache-2.0" -repository = "https://gitee.com/openharmony-sig/commonlibrary_rust_ylong_http" +repository = "https://gitee.com/openharmony/commonlibrary_rust_ylong_http" keywords = ["ylong", "http"] -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [features] default = [] full = [ @@ -27,7 +25,7 @@ ylong_base = ["ylong_runtime"] # Uses asynchronous components of `ylo [dependencies] tokio = { version = "1.20.1", features = ["io-util"], optional = true } -ylong_runtime = { git = "https://gitee.com/openharmony-sig/commonlibrary_rust_ylong_runtime.git", optional = true } +ylong_runtime = { git = "https://gitee.com/openharmony/commonlibrary_rust_ylong_runtime.git", optional = true } [dev-dependencies] tokio = { version = "1.20.1", features = ["io-util", "rt-multi-thread", "macros"] } diff --git a/ylong_http_client/Cargo.toml b/ylong_http_client/Cargo.toml index 9ede293..4b71be7 100644 --- a/ylong_http_client/Cargo.toml +++ b/ylong_http_client/Cargo.toml @@ -4,16 +4,14 @@ version = "1.0.0" edition = "2021" description = "Ylong HTTP Client implementation" license = "Apache-2.0" -repository = "https://gitee.com/openharmony-sig/commonlibrary_rust_ylong_http" +repository = "https://gitee.com/openharmony/commonlibrary_rust_ylong_http" keywords = ["ylong", "http", "client"] -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [dependencies] ylong_http = { path = "../ylong_http", features = ["full"] } libc = { version = "0.2.134", optional = true } tokio = { version = "1.20.1", features = ["io-util", "net", "rt", "rt-multi-thread", "macros", "sync", "time"], optional = true } -ylong_runtime = { git = "https://gitee.com/openharmony-sig/commonlibrary_rust_ylong_runtime.git", features = ["net", "sync", "fs", "macros", "time"], optional = true } +ylong_runtime = { git = "https://gitee.com/openharmony/commonlibrary_rust_ylong_runtime.git", features = ["net", "sync", "fs", "macros", "time"], optional = true } [dev-dependencies] hyper = { version = "0.14.23", features = ["http1", "tcp", "server"] } -- Gitee