mirror of
https://github.com/openharmony/commonlibrary_rust_ylong_http.git
synced 2026-06-30 21:57:57 -04:00
@@ -1,7 +1,6 @@
|
||||
[workspace]
|
||||
resolver = "2"
|
||||
members = [
|
||||
# web
|
||||
"ylong_http",
|
||||
"ylong_http_client",
|
||||
]
|
||||
|
||||
@@ -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"] }
|
||||
|
||||
@@ -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"] }
|
||||
|
||||
Reference in New Issue
Block a user