xdg-mime no longer uses git version 0u0

This commit is contained in:
Lynne Megido 2021-04-20 17:26:31 +10:00
parent dc2ac7b002
commit b877d7d65e
Signed by: lynnesbian
GPG key ID: F0A184B5213D9F90
4 changed files with 8 additions and 6 deletions

View file

@ -2,12 +2,13 @@
Dates are given in YYYY-MM-DD format.
## v0.2
### v0.2.12 (2021-???)
### v0.2.13 (2021-???)
- Added Apple iWork document formats to documents extension set
- Cleaned up and properly documented tests
- Renamed `Script` (in `formats.rs`) to `Shell`, in line with renaming in `paramaters.rs`
- Renamed `Script` (in `formats.rs`) to `Shell`, in line with renaming in `parameters.rs`
- Added .rpa (Ren'Py archive) support to infer backend
- Added system extension set
- [`xdg-mime`] no longer uses git version
### v0.2.12 (2021-04-14)
#### Features

3
Cargo.lock generated
View file

@ -742,7 +742,8 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
[[package]]
name = "xdg-mime"
version = "0.3.3"
source = "git+https://github.com/ebassi/xdg-mime-rs?rev=de5a6dd#de5a6dd04b1a225894c51b5c6e5f5a22ffa46373"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "87bf7b69bb50588d70a36e467be29d3df3e8c32580276d62eded9738c1a797aa"
dependencies = [
"dirs-next",
"glob",

View file

@ -35,14 +35,12 @@ exitcode = "1.1.2"
cfg-if = "1.0.0"
[target.'cfg(unix)'.dependencies]
xdg-mime = "0.3.2"
xdg-mime = "0.3.3"
[target.'cfg(not(all(target_endian = "big", target_pointer_width = "32")))'.dependencies]
smartstring = "0.2.6"
[patch.crates-io]
# use git version while waiting on a release incorporating https://github.com/ebassi/xdg-mime-rs/commit/de5a6dd
xdg-mime = { git = "https://github.com/ebassi/xdg-mime-rs", version = "0.3", rev = "de5a6dd" }
# forked version with many more mime types
mime_guess = { git = "https://github.com/Lynnesbian/mime_guess", version = "2.0.4" }

View file

@ -130,6 +130,8 @@ fn main() {
exit(0);
}
// TODO: sort entries in order of: valid moves, unknown mime, unknown ext, error
let mut buffered_stdout = BufWriter::new(stdout());
let result = match args.output_format {