remove warnings in ui and non ui builds

This commit is contained in:
Philip Kristoffersen
2021-10-02 14:03:18 +02:00
parent 088016843d
commit cd6881fa05
4 changed files with 86 additions and 16 deletions
+2 -2
View File
@@ -19,10 +19,10 @@ nom = "^7.0.*"
nom_locate = "^3.0.*"
flate2 = "^1.0.22"
toml = { version = "^0.5.8", optional = true }
futures = {version="*", optional=true}
[build-dependencies]
fl2rust = { version = "0.4", optional = true }
[features]
# default = ["ui"]
ui = ["fltk", "fl2rust", "toml"]
ui = ["fltk", "fl2rust", "toml","futures"]