Skip to content

Commit

Permalink
Add nix as dependency to ensure fs feature
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipK committed Oct 28, 2024
1 parent e23987f commit 7f125a6
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
19 changes: 16 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ version ="^0.25.4"
#rev = "55a668409b28fedcd6cd3dea25ae1b3cc9d25ec5"

[dependencies.reqwest]
default_features = false
default-features = false
version = "^0.12.8"
features = ["json","rustls-tls"]

Expand All @@ -65,6 +65,9 @@ winreg = "^0.52.0"
sqlite = "^0.36.1"
roxmltree = "^0.20.0"

[target.'cfg(not(windows))'.dependencies]
nix = { version = "0.29.0", features = ["fs"] }

[features]
# This feature is enabled when building for a flatpak environment
flatpak = []
Expand Down

0 comments on commit 7f125a6

Please sign in to comment.