From ea547bb94dea1839a117cc315332e96a85d524bb Mon Sep 17 00:00:00 2001 From: hu-kai45 Date: Tue, 27 Jun 2023 09:56:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A=20Cargo.toml=20=E4=B8=AD?= =?UTF-8?q?=E7=9A=84=20ylong=5Fruntime=EF=BC=8C=E4=BB=A5=E4=BE=BF=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E4=BD=BF=E7=94=A8=20Cargo=20=E7=94=9F=E6=88=90=20doc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: hu-kai45 --- ylong_http/Cargo.toml | 4 ++-- ylong_http_client/Cargo.toml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ylong_http/Cargo.toml b/ylong_http/Cargo.toml index 53438ce..113c797 100644 --- a/ylong_http/Cargo.toml +++ b/ylong_http/Cargo.toml @@ -24,11 +24,11 @@ http3 = [] # Uses HTTP/3. huffman = [] # Uses Huffman encoding in `Hpack` and `Qpack`. tokio_base = ["tokio"] # Uses asynchronous components of `tokio` -ylong_base = ["ylong_runtime"] # Uses asynchronous components of `tokio` +ylong_base = [] # Uses asynchronous components of `ylong` [dependencies] tokio = { version = "1.20.1", features = ["io-util"], optional = true } -ylong_runtime = { path = "../runtime/ylong_runtime", optional = true } +# ylong_runtime = { path = "../runtime/ylong_runtime", 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 121ac47..64946a4 100644 --- a/ylong_http_client/Cargo.toml +++ b/ylong_http_client/Cargo.toml @@ -14,7 +14,7 @@ keywords = ["ylong", "http", "client"] ylong_http = { path = "../ylong_http", version = "1.9.0", 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 = { path = "../runtime/ylong_runtime", features = ["net", "sync", "fs", "macros", "time"], optional = true } +# ylong_runtime = { path = "../runtime/ylong_runtime", features = ["net", "sync", "fs", "macros", "time"], optional = true } [dev-dependencies] hyper = { version = "0.14.23", features = ["http1", "tcp", "server"] } @@ -38,7 +38,7 @@ http2 = ["ylong_http/http2"] # Uses HTTP/2. http3 = [] # Uses HTTP/3. tokio_base = ["tokio"] # Uses tokio runtime. -ylong_base = ["ylong_runtime"] # Uses ylong runtime. +ylong_base = [] # Uses ylong runtime. tls_default = ["c_openssl_3_0"] __tls = [] # Not open to user, only mark to use tls for developer. -- Gitee