Move gitignore to dependencies

This commit is contained in:
Konstantin Podsvirov 2022-10-16 11:22:53 +03:00
parent c39564f8fd
commit 9a0206c19b
1 changed files with 2 additions and 2 deletions

View File

@ -34,10 +34,10 @@ shlex = "1"
tempfile = "3.0" tempfile = "3.0"
toml = "0.5.1" toml = "0.5.1"
topological-sort = "0.1.0" topological-sort = "0.1.0"
gitignore = "1.0"
# Watch feature # Watch feature
notify = { version = "4.0", optional = true } notify = { version = "4.0", optional = true }
gitignore = { version = "1.0", optional = true }
# Serve feature # Serve feature
futures-util = { version = "0.3.4", optional = true } futures-util = { version = "0.3.4", optional = true }
@ -58,7 +58,7 @@ walkdir = "2.0"
[features] [features]
default = ["watch", "serve", "search"] default = ["watch", "serve", "search"]
watch = ["notify", "gitignore"] watch = ["notify"]
serve = ["futures-util", "tokio", "warp"] serve = ["futures-util", "tokio", "warp"]
search = ["elasticlunr-rs", "ammonia"] search = ["elasticlunr-rs", "ammonia"]