diff --git a/ylong_http/Cargo.toml b/ylong_http/Cargo.toml index 53438ce2d2c1d915b8b70c28ac899b23910c7011..113c797de637b6b01ded3725c02653fe94a502c0 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 121ac47e5c38a7dab8363a1dbd7f1dc259b437a9..64946a48df8e57fa11598712d1363b705d7f9339 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.