From 1ac390e2d94bdbe386c3dee26bc80e7216ce1f9f Mon Sep 17 00:00:00 2001 From: Glitch Date: Tue, 9 Mar 2021 15:37:54 +0100 Subject: Add warp support (#46) * add tracing, add tests, default to empty string --- Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index ac5a4d6..dc8e3cb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,6 +23,8 @@ futures = { version = "0.3.8", optional = true } percent-encoding = "2.1.0" serde = "1.0.118" thiserror = "1.0.22" +tracing = { version = "0.1", optional = true } +warp-framework = { package = "warp", version = "0.3", default-features = false, optional = true } [dev-dependencies] csv = "1.1.5" @@ -34,6 +36,7 @@ serde_urlencoded = "0.7.0" default = [] actix = ["actix-web", "futures"] actix2 = ["actix-web2", "futures"] +warp = [ "futures", "tracing", "warp-framework" ] [package.metadata.docs.rs] -features = [ "actix" ] +features = [ "actix", "warp" ] -- cgit v1.2.3