aboutsummaryrefslogtreecommitdiffstats
path: root/components/net
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2023-05-16 19:54:19 +0200
committerMartin Robinson <mrobinson@igalia.com>2023-05-17 11:59:35 +0200
commit2f4c47bfe7828a8045d0392a4015f441fed1aa5d (patch)
treecfdab05dff951c5c2d9be545267e7d9e73407dbd /components/net
parentc5d31c3ab6ad4c633869ef4c4d32cd01c480661f (diff)
downloadservo-2f4c47bfe7828a8045d0392a4015f441fed1aa5d.tar.gz
servo-2f4c47bfe7828a8045d0392a4015f441fed1aa5d.zip
Start the transition to workspace dependencies
This will ultimately make it simpler to update crate dependencies and reduce duplicate when specifying requirements. Generally, this change does not touch dependencies that are only used by a single crate. We could consider moving them to workspace dependencies in the future.
Diffstat (limited to 'components/net')
-rw-r--r--components/net/Cargo.toml44
1 files changed, 22 insertions, 22 deletions
diff --git a/components/net/Cargo.toml b/components/net/Cargo.toml
index 81ed3de24c7..5e9481fa599 100644
--- a/components/net/Cargo.toml
+++ b/components/net/Cargo.toml
@@ -17,55 +17,55 @@ doctest = false
[dependencies]
async-recursion = "0.3.2"
async-tungstenite = { version = "0.9", features = ["tokio-openssl"] }
-base64 = "0.10.1"
+base64 = { workspace = true }
brotli = "3"
bytes = "1"
-content-security-policy = { version = "0.5", features = ["serde"] }
+content-security-policy = { workspace = true }
cookie_rs = { package = "cookie", version = "0.12" }
-crossbeam-channel = "0.4"
-data-url = "0.1.0"
+crossbeam-channel = { workspace = true }
+data-url = { workspace = true }
devtools_traits = { path = "../devtools_traits" }
embedder_traits = { path = "../embedder_traits" }
flate2 = "1"
futures = { version = "0.3", package = "futures" }
futures-util = { version = "0.3" }
generic-array = "0.14"
-headers = "0.3"
-http = "0.2"
-hyper = { version = "0.14", features = ["client", "http1", "http2", "tcp", "stream"] }
+headers = { workspace = true }
+http = { workspace = true }
+hyper = { workspace = true, features = ["client", "http1", "http2", "tcp", "stream"] }
hyper-openssl = "0.9.1"
-hyper_serde = "0.13"
+hyper_serde = { workspace = true }
immeta = "0.4"
-ipc-channel = "0.14"
-lazy_static = "1"
+ipc-channel = { workspace = true }
+lazy_static = { workspace = true }
libflate = "0.1"
-log = "0.4"
+log = { workspace = true }
malloc_size_of = { path = "../malloc_size_of" }
-malloc_size_of_derive = "0.1"
-mime = "0.3"
-mime_guess = "2.0.3"
+malloc_size_of_derive = { workspace = true }
+mime = { workspace = true }
+mime_guess = { workspace = true }
msg = { path = "../msg" }
net_traits = { path = "../net_traits" }
openssl = "0.10"
openssl-sys = "0.9"
-percent-encoding = "2.0"
+percent-encoding = { workspace = true }
pixels = { path = "../pixels" }
profile_traits = { path = "../profile_traits" }
-rayon = "1"
-serde = "1.0"
-serde_json = "1.0"
+rayon = { workspace = true }
+serde = { workspace = true }
+serde_json = { workspace = true }
servo_allocator = { path = "../allocator" }
servo_arc = { path = "../servo_arc" }
servo_config = { path = "../config" }
servo_url = { path = "../url" }
sha2 = "0.10"
-time = "0.1.41"
+time = { workspace = true }
tokio = { version = "1", package = "tokio", features = ["sync", "macros", "rt-multi-thread"] }
tokio2 = { version = "0.2", package = "tokio", features = ["sync", "macros", "rt-threaded", "tcp"] }
tokio-stream = "0.1"
tungstenite = "0.11"
-url = "2.0"
-uuid = { version = "0.8", features = ["v4"] }
+url = { workspace = true }
+uuid = { workspace = true }
webrender_api = { git = "https://github.com/servo/webrender" }
[dev-dependencies]
@@ -74,7 +74,7 @@ std_test_override = { path = "../std_test_override" }
tokio-openssl = "0.6"
tokio-test = "0.4"
tokio-stream = { version = "0.1", features = ["net"] }
-hyper = { version = "0.14", features = ["full"] }
+hyper = { workspace = true, features = ["full"] }
[[test]]
name = "main"