From 6e24f5df8d1f71e066aee6858ca4ed3ce5b05158 Mon Sep 17 00:00:00 2001 From: Chris Wong Date: Sat, 18 Sep 2021 12:44:57 +1000 Subject: [PATCH 1/2] Disable features on doctest dependencies Let's see if this speeds up the build --- doctest/Cargo.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doctest/Cargo.toml b/doctest/Cargo.toml index a06e4cf3..d3d515bc 100644 --- a/doctest/Cargo.toml +++ b/doctest/Cargo.toml @@ -5,16 +5,16 @@ authors = ["Chris Wong "] edition = "2018" [dependencies] -actix-web = "3" +actix-web = { version = "3", default-features = false } ammonia = "3" iron = "0.6" maud = { path = "../maud", features = ["actix-web", "iron", "rocket", "tide", "axum"] } pulldown-cmark = "0.8" -rocket = "0.4" +rocket = { version = "0.4", default-features = false } rouille = "3" -tide = "0.16" +tide = { version = "0.16", default-features = false } tokio = { version = "1.9.0", features = ["rt", "macros", "rt-multi-thread"] } -axum = "0.1.3" +axum = { version = "0.1.3", default-features = false } [dependencies.async-std] version = "1.9.0" From 508045e1520d6884b54a45d33e5cf5ac36a2a3d9 Mon Sep 17 00:00:00 2001 From: Chris Wong Date: Sat, 18 Sep 2021 18:47:25 +1000 Subject: [PATCH 2/2] Add h1-server feature to Tide --- doctest/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doctest/Cargo.toml b/doctest/Cargo.toml index d3d515bc..cb4061a4 100644 --- a/doctest/Cargo.toml +++ b/doctest/Cargo.toml @@ -12,7 +12,7 @@ maud = { path = "../maud", features = ["actix-web", "iron", "rocket", "tide", "a pulldown-cmark = "0.8" rocket = { version = "0.4", default-features = false } rouille = "3" -tide = { version = "0.16", default-features = false } +tide = { version = "0.16", default-features = false, features = ["h1-server"] } tokio = { version = "1.9.0", features = ["rt", "macros", "rt-multi-thread"] } axum = { version = "0.1.3", default-features = false }