Move tiny_http behind feature flag (#566)

Thanks @wusyong !!! ❤️
This commit is contained in:
Wu Yu Wei 2020-04-13 01:41:58 +08:00 committed by GitHub
parent c649ef47b6
commit 8b1f24ff9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ phf = "0.8.0"
base64 = "0.12.0"
webbrowser = "0.5.2"
lazy_static = "1.4.0"
tiny_http = "0.6"
tiny_http = { version = "0.6", optional = true }
threadpool = "1.7"
uuid = { version = "0.8.1", features = ["v4"] }
error-chain = "0.12.2"
@ -38,7 +38,7 @@ serde = { version = "1.0", features = [ "derive" ] }
[features]
edge = ["web-view/edge"]
dev-server = []
embedded-server = []
embedded-server = ["tiny_http"]
no-server = []
all-api = []
read-text-file = []