mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Removed unused dependencies in various crates using cargo-machete, grep and cargo-udeps. Testing: The CI tests if any dependencies were used that are removed. Signed-off-by: Narfinger <Narfinger@users.noreply.github.com>
88 lines
2.8 KiB
TOML
88 lines
2.8 KiB
TOML
[package]
|
|
name = "net"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
rust-version.workspace = true
|
|
autotests = false # Inhibit lookup for tests/*.rs without [[test]] sections
|
|
|
|
[lib]
|
|
name = "net"
|
|
path = "lib.rs"
|
|
test = false
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
async-compression = { version = "0.4.12", default-features = false, features = ["tokio", "brotli", "gzip", "zlib"] }
|
|
async-recursion = "1.1"
|
|
async-tungstenite = { workspace = true }
|
|
base = { workspace = true }
|
|
base64 = { workspace = true }
|
|
bytes = "1"
|
|
chrono = { workspace = true }
|
|
compositing_traits = { workspace = true }
|
|
content-security-policy = { workspace = true }
|
|
cookie = { workspace = true }
|
|
crossbeam-channel = { workspace = true }
|
|
data-url = { workspace = true }
|
|
devtools_traits = { workspace = true }
|
|
embedder_traits = { workspace = true }
|
|
fst = "0.4"
|
|
futures = { version = "0.3", package = "futures" }
|
|
futures-core = { version = "0.3.30", default-features = false }
|
|
futures-util = { version = "0.3.30", default-features = false }
|
|
generic-array = "0.14"
|
|
headers = { workspace = true }
|
|
http = { workspace = true }
|
|
http-body-util = { workspace = true }
|
|
hyper = { workspace = true, features = ["client", "http1", "http2"] }
|
|
hyper-rustls = { workspace = true }
|
|
hyper-util = { workspace = true }
|
|
hyper_serde = { workspace = true }
|
|
imsz = { workspace = true }
|
|
ipc-channel = { workspace = true }
|
|
itertools = { workspace = true }
|
|
log = { workspace = true }
|
|
malloc_size_of = { workspace = true }
|
|
malloc_size_of_derive = { workspace = true }
|
|
mime = { workspace = true }
|
|
mime_guess = { workspace = true }
|
|
net_traits = { workspace = true }
|
|
pixels = { path = "../pixels" }
|
|
profile_traits = { workspace = true }
|
|
rayon = { workspace = true }
|
|
rustls = { workspace = true }
|
|
rustls-pemfile = { workspace = true }
|
|
rustls-pki-types = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
servo_arc = { workspace = true }
|
|
servo_config = { path = "../config" }
|
|
servo_url = { path = "../url" }
|
|
sha2 = "0.10"
|
|
time = { workspace = true }
|
|
tokio = { workspace = true, features = ["sync", "macros", "rt-multi-thread"] }
|
|
tokio-rustls = { workspace = true }
|
|
tokio-stream = "0.1"
|
|
tokio-util = { version = "0.7.12", default-features = false, features = ["codec", "io"] }
|
|
tower-service = { workspace = true }
|
|
tungstenite = { workspace = true }
|
|
url = { workspace = true }
|
|
uuid = { workspace = true }
|
|
webpki-roots = { workspace = true }
|
|
webrender_api = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
embedder_traits = { workspace = true, features = ["baked-default-resources"] }
|
|
flate2 = "1"
|
|
fst = "0.4"
|
|
futures = { version = "0.3", features = ["compat"] }
|
|
hyper = { workspace = true, features = ["full"] }
|
|
hyper-util = { workspace = true, features = ["server-graceful"] }
|
|
rustls = { workspace = true, features = ["aws-lc-rs"] }
|
|
|
|
[[test]]
|
|
name = "main"
|
|
path = "tests/main.rs"
|