Compare commits
2 commits
a071f21141
...
7a7e6c9bc6
Author | SHA1 | Date | |
---|---|---|---|
7a7e6c9bc6 | |||
|
e66eaa66a6 |
1 changed files with 7 additions and 1 deletions
|
@ -57,6 +57,12 @@ cargo install --locked fif
|
|||
To update, simply re-run the `install` command, or use a tool like [cargo-update
|
||||
](https://github.com/nabijaczleweli/cargo-update), which can update crates installed via `cargo install`.
|
||||
|
||||
On macOS, `fif` can now be installed using [MacPorts](https://www.macports.org), via the following steps:
|
||||
```bash
|
||||
$ sudo port selfupdate
|
||||
$ sudo port install fif
|
||||
```
|
||||
|
||||
### Cargo Features
|
||||
fif supports using [`infer`] or [`xdg-mime`] as its backend for looking up file types. By default, xdg-mime will be
|
||||
used on [*nix systems](https://en.wikipedia.org/wiki/Unix-like) (Linux, macOS, *BSD, etc.), and infer on all other
|
||||
|
@ -180,4 +186,4 @@ a more concise overview).
|
|||
[Cargo]: https://doc.rust-lang.org/cargo/
|
||||
[`xdg-mime`]: https://crates.io/crates/xdg-mime
|
||||
[`infer`]: https://crates.io/crates/infer
|
||||
[Shared MIME Info]: https://gitlab.freedesktop.org/xdg/shared-mime-info/
|
||||
[Shared MIME Info]: https://gitlab.freedesktop.org/xdg/shared-mime-info/
|
||||
|
|
Loading…
Reference in a new issue