toml:整理修改

Signed-off-by: fqwert <yanglv2@huawei.com>
This commit is contained in:
fqwert
2023-09-15 10:20:45 +08:00
parent 2e6b801e4c
commit 54ef8f3aea
3 changed files with 4 additions and 9 deletions
-1
View File
@@ -1,7 +1,6 @@
[workspace]
resolver = "2"
members = [
# web
"ylong_http",
"ylong_http_client",
]
+2 -4
View File
@@ -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"] }
+2 -4
View File
@@ -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"] }