summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorGlitch <smallglitch@cryptolab.net>2021-03-09 15:37:54 +0100
committerGitHub <noreply@github.com>2021-03-09 09:37:54 -0500
commit1ac390e2d94bdbe386c3dee26bc80e7216ce1f9f (patch)
treeaf8b22ce5c9cccb40a9f1addd60b45573de322d4 /Cargo.toml
parent69b6269893c003911f86563d1e59750b735c2685 (diff)
Add warp support (#46)
* add tracing, add tests, default to empty string
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml5
1 files changed, 4 insertions, 1 deletions
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" ]