hide xdg-mime-backend for windows users, cargo update
This commit is contained in:
parent
7fdc75c9e9
commit
9e51525d27
2 changed files with 9 additions and 4 deletions
8
Cargo.lock
generated
8
Cargo.lock
generated
|
@ -514,18 +514,18 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "thiserror"
|
||||
version = "1.0.23"
|
||||
version = "1.0.24"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "76cc616c6abf8c8928e2fdcc0dbfab37175edd8fb49a4641066ad1364fdab146"
|
||||
checksum = "e0f4a65597094d4483ddaed134f409b2cb7c1beccf25201a9f73c719254fa98e"
|
||||
dependencies = [
|
||||
"thiserror-impl",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "thiserror-impl"
|
||||
version = "1.0.23"
|
||||
version = "1.0.24"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "9be73a2caec27583d0046ef3796c3794f868a5bc813db689eed00c7631275cd1"
|
||||
checksum = "7765189610d8241a44529806d6fd1f2e0a08734313a35d5b3a556f92b381f3c0"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
|
|
|
@ -13,6 +13,9 @@ rust-version = "1.43.0" # cached requires 1.42.0
|
|||
default = ["multi-threaded", "infer-backend"]
|
||||
multi-threaded = ["rayon"]
|
||||
infer-backend = ["infer"]
|
||||
|
||||
# always disable xdg-mime-backend on windows
|
||||
[target.'cfg(not(target_os = "windows"))'.features]
|
||||
xdg-mime-backend = ["xdg-mime"]
|
||||
|
||||
[dependencies]
|
||||
|
@ -24,7 +27,9 @@ snailquote = "0.3.0"
|
|||
once_cell = "1.5.2"
|
||||
rayon = { version = "1.5.0", optional = true }
|
||||
infer = { version = "0.3.4", optional = true }
|
||||
|
||||
# use git version while waiting on a release incorporating https://github.com/ebassi/xdg-mime-rs/commit/de5a6dd
|
||||
[target.'cfg(not(target_os = "windows"))'.dependencies]
|
||||
xdg-mime = {git = "https://github.com/ebassi/xdg-mime-rs", version = "0.3", rev = "de5a6dd", optional = true }
|
||||
|
||||
[dependencies.clap]
|
||||
|
|
Loading…
Reference in a new issue